public class ObjectRepleaceMetadata extends Object
Constructor and Description |
---|
ObjectRepleaceMetadata() |
Modifier and Type | Method and Description |
---|---|
String |
getCacheControl()
Obtain the rewritten "Cache-Control" header in the response.
|
String |
getContentDisposition()
Obtain the rewritten "Content-Disposition" header in the response.
|
String |
getContentEncoding()
Obtain the rewritten "Content-Encoding" header in the response.
|
String |
getContentLanguage()
Obtain the rewritten "Content-Language" header in the response.
|
String |
getContentType()
Obtain the rewritten "Content-Type" header in the response.
|
String |
getExpires()
Obtain the rewritten "Expires" header in the response.
|
void |
setCacheControl(String cacheControl)
Rewrite the "Cache-Control" header in the response.
|
void |
setContentDisposition(String contentDisposition)
Rewrite the "Content-Disposition" header in the response.
|
void |
setContentEncoding(String contentEncoding)
Rewrite the "Content-Encoding" header in the response.
|
void |
setContentLanguage(String contentLanguage)
Rewrite the "Content-Language" header in the response.
|
void |
setContentType(String contentType)
Rewrite the "Content-Type" header in the response.
|
void |
setExpires(String expires)
Rewrite the "Expires" header in the response.
|
String |
toString() |
public String getContentType()
public void setContentType(String contentType)
contentType
- "Content-Type" header in the responsepublic String getContentLanguage()
public void setContentLanguage(String contentLanguage)
contentLanguage
- "Content-Language" header in the responsepublic String getExpires()
public void setExpires(String expires)
expires
- Rewritten "Expires" header in the responsepublic String getCacheControl()
public void setCacheControl(String cacheControl)
cacheControl
- "Cache-Control" header in the responsepublic String getContentDisposition()
public void setContentDisposition(String contentDisposition)
contentDisposition
- "Content-Disposition" header in the responsepublic String getContentEncoding()
public void setContentEncoding(String contentEncoding)
contentEncoding
- "Content-Encoding" header in the responseCopyright © 2019. All rights reserved.