Package org.jclouds.io
Interface MutableContentMetadata
-
- All Superinterfaces:
ContentMetadata
- All Known Subinterfaces:
MutableContentMetadata
- All Known Implementing Classes:
BaseMutableContentMetadata
,DelegatingMutableContentMetadata
public interface MutableContentMetadata extends ContentMetadata
-
-
Field Summary
-
Fields inherited from interface org.jclouds.io.ContentMetadata
HTTP_HEADERS, RFC1123_DATE_PATTERN
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
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.usesetContentMD5(HashCode)
instead.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 Detail
-
setContentMD5
@Deprecated void setContentMD5(@Nullable byte[] md5)
Deprecated.usesetContentMD5(HashCode)
instead.
-
setContentMD5
void setContentMD5(@Nullable com.google.common.hash.HashCode md5)
-
setContentDisposition
void setContentDisposition(@Nullable String contentDisposition)
Set Content Disposition of the payload Not all providers may support it- Parameters:
contentDisposition
-
-
setContentLanguage
void setContentLanguage(@Nullable String contentLanguage)
Set Content Language of the payload Not all providers may support it- Parameters:
contentLanguage
-
-
setContentEncoding
void setContentEncoding(@Nullable String contentEncoding)
Set Content Encoding of the payload Not all providers may support it- Parameters:
contentEncoding
-
-
-