public interface MutableContentMetadata extends ContentMetadata
HTTP_HEADERS, RFC1123_DATE_PATTERN
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)
Deprecated.
use
setContentMD5(HashCode) instead. |
void |
setContentMD5(com.google.common.hash.HashCode md5) |
void |
setContentType(String contentType) |
void |
setExpires(Date expires) |
getContentDisposition, getContentEncoding, getContentLanguage, getContentLength, getContentMD5, getContentMD5AsHashCode, getContentType, getExpires, toBuilder
@Deprecated void setContentMD5(@Nullable byte[] md5)
setContentMD5(HashCode)
instead.void setContentMD5(@Nullable com.google.common.hash.HashCode md5)
void setContentDisposition(@Nullable String contentDisposition)
contentDisposition
- void setContentLanguage(@Nullable String contentLanguage)
contentLanguage
- void setContentEncoding(@Nullable String contentEncoding)
contentEncoding
- Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.