public interface MutableContentMetadata extends ContentMetadata
HTTP_HEADERS
Modifier and Type | Method and Description |
---|---|
void |
setContentDisposition(String contentDisposition)
Set Content Disposition of the payload
Not all providers may support it
|
void |
setContentEncoding(String contentEncoding)
Set Content Encoding of the payload
Not all providers may support it
|
void |
setContentLanguage(String contentLanguage)
Set Content Language of the payload
Not all providers may support it
|
void |
setContentLength(Long contentLength) |
void |
setContentMD5(byte[] md5) |
void |
setContentType(String contentType) |
void |
setPropertiesFromHttpHeaders(com.google.common.collect.Multimap<String,String> headers)
sets properties related to the http headers listed in
ContentMetadata.HTTP_HEADERS |
getContentDisposition, getContentEncoding, getContentLanguage, getContentLength, getContentMD5, getContentType, toBuilder
void setPropertiesFromHttpHeaders(com.google.common.collect.Multimap<String,String> headers)
ContentMetadata.HTTP_HEADERS
void setContentMD5(@Nullable byte[] md5)
void setContentDisposition(@Nullable String contentDisposition)
contentDisposition
- void setContentLanguage(@Nullable String contentLanguage)
contentLanguage
- Copyright © 2009-2012 jclouds. All Rights Reserved.