Package org.jclouds.io
Interface ContentMetadataCodec
-
- All Known Implementing Classes:
ContentMetadataCodec.DefaultContentMetadataCodec
public interface ContentMetadataCodec
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ContentMetadataCodec.DefaultContentMetadataCodec
Default implementation, in accordance with HTTP 1.1 spec.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
fromHeaders(MutableContentMetadata contentMetadata, com.google.common.collect.Multimap<String,String> headers)
Sets properties related to the http headers listed inContentMetadata.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
-
toHeaders
com.google.common.collect.Multimap<String,String> toHeaders(ContentMetadata md)
Generates standard HTTP headers for the give metadata.
-
fromHeaders
void fromHeaders(MutableContentMetadata contentMetadata, com.google.common.collect.Multimap<String,String> headers)
Sets properties related to the http headers listed inContentMetadata.HTTP_HEADERS
-
-