|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentMetadataCodec
| Nested Class Summary | |
|---|---|
static class |
ContentMetadataCodec.DefaultContentMetadataCodec
Default implementation, in accordance with HTTP 1.1 spec. |
| Method Summary | |
|---|---|
void |
fromHeaders(MutableContentMetadata contentMetadata,
com.google.common.collect.Multimap<String,String> headers)
Sets properties related to the http headers listed in ContentMetadata.HTTP_HEADERS |
Date |
parseExpires(String expires)
Parses the 'Expires' header. |
com.google.common.collect.Multimap<String,String> |
toHeaders(ContentMetadata md)
Generates standard HTTP headers for the give metadata. |
| Method Detail |
|---|
com.google.common.collect.Multimap<String,String> toHeaders(ContentMetadata md)
void fromHeaders(MutableContentMetadata contentMetadata,
com.google.common.collect.Multimap<String,String> headers)
ContentMetadata.HTTP_HEADERS
Date parseExpires(String expires)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||