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 voidsetCacheControl(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.usesetContentMD5(HashCode)instead.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 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-
-
-