public interface ContentMetadataCodec
Modifier and Type | Interface and Description |
---|---|
static class |
ContentMetadataCodec.DefaultContentMetadataCodec
Default implementation, in accordance with HTTP 1.1 spec.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © 2009-2013 jclouds. All Rights Reserved.