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 TypeMethodDescriptionvoid
setCacheControl
(String cacheControl) void
setContentDisposition
(String contentDisposition) Set Content Disposition of the payloadvoid
setContentEncoding
(String contentEncoding) Set Content Encoding of the payloadvoid
setContentLanguage
(String contentLanguage) Set Content Language of the payloadvoid
setContentLength
(Long contentLength) void
setContentMD5
(byte[] md5) Deprecated.void
setContentMD5
(com.google.common.hash.HashCode md5) void
setContentType
(String contentType) void
setExpires
(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.