public class ObjectRepleaceMetadata extends Object
Constructor and Description |
---|
ObjectRepleaceMetadata() |
Modifier and Type | Method and Description |
---|---|
String |
getCacheControl()
获取重写响应中的Cache-Control头
|
String |
getContentDisposition()
获取重写响应中的Content-Disposition头
|
String |
getContentEncoding()
获取重写响应中的Content-Encoding头
|
String |
getContentLanguage()
获取重写响应中的Content-Language头
|
String |
getContentType()
获取重写响应中的Content-Type头
|
String |
getExpires()
获取重写响应中的Expires头
|
void |
setCacheControl(String cacheControl)
设置重写响应中的Cache-Control头
|
void |
setContentDisposition(String contentDisposition)
设置重写响应中的Content-Disposition头
|
void |
setContentEncoding(String contentEncoding)
设置重写响应中的Content-Encoding头
|
void |
setContentLanguage(String contentLanguage)
设置重写响应中的Content-Language头
|
void |
setContentType(String contentType)
设置重写响应中的Content-Type头
|
void |
setExpires(String expires)
设置重写响应中的Expires头
|
String |
toString() |
public String getContentType()
public void setContentType(String contentType)
contentType
- 响应中的Content-Type头public String getContentLanguage()
public void setContentLanguage(String contentLanguage)
contentLanguage
- 响应中的Content-Language头public String getExpires()
public void setExpires(String expires)
expires
- 响应中的Expires头public String getCacheControl()
public void setCacheControl(String cacheControl)
cacheControl
- 响应中的Cache-Control头public String getContentDisposition()
public void setContentDisposition(String contentDisposition)
contentDisposition
- 响应中的Content-Disposition头public String getContentEncoding()
public void setContentEncoding(String contentEncoding)
contentEncoding
- 响应中的Content-Encoding头Copyright © 2021. All rights reserved.