Package org.jclouds.io
Interface MutableContentMetadata
- All Superinterfaces:
ContentMetadata
- All Known Subinterfaces:
MutableContentMetadata
- All Known Implementing Classes:
BaseMutableContentMetadata,DelegatingMutableContentMetadata
-
Field Summary
Fields inherited from interface org.jclouds.io.ContentMetadata
HTTP_HEADERS, RFC1123_DATE_PATTERN -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCacheControl(String cacheControl) voidsetContentDisposition(String contentDisposition) Set Content Disposition of the payloadvoidsetContentEncoding(String contentEncoding) Set Content Encoding of the payloadvoidsetContentLanguage(String contentLanguage) Set Content Language of the payloadvoidsetContentLength(Long contentLength) voidsetContentMD5(byte[] md5) Deprecated.voidsetContentMD5(com.google.common.hash.HashCode md5) voidsetContentType(String contentType) voidsetExpires(Date expires) Methods inherited from interface org.jclouds.io.ContentMetadata
getCacheControl, getContentDisposition, getContentEncoding, getContentLanguage, getContentLength, getContentMD5, getContentMD5AsHashCode, getContentType, getExpires, toBuilder
-
Method Details
-
setCacheControl
-
setContentLength
-
setContentMD5
Deprecated.usesetContentMD5(HashCode)instead. -
setContentMD5
-
setContentType
-
setContentDisposition
Set Content Disposition of the payload Not all providers may support it- Parameters:
contentDisposition-
-
setContentLanguage
Set Content Language of the payload Not all providers may support it- Parameters:
contentLanguage-
-
setContentEncoding
Set Content Encoding of the payload Not all providers may support it- Parameters:
contentEncoding-
-
setExpires
-
setContentMD5(HashCode)instead.