类 ObjectRepleaceMetadata
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.ObjectRepleaceMetadata
Response headers that can be rewritten during object download
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Obtain the rewritten "Cache-Control" header in the response.Obtain the rewritten "Content-Disposition" header in the response.Obtain the rewritten "Content-Encoding" header in the response.Obtain the rewritten "Content-Language" header in the response.Obtain the rewritten "Content-Type" header in the response.Obtain the rewritten "Expires" header in the response.voidsetCacheControl(String cacheControl) Rewrite the "Cache-Control" header in the response.voidsetContentDisposition(String contentDisposition) Rewrite the "Content-Disposition" header in the response.voidsetContentEncoding(String contentEncoding) Rewrite the "Content-Encoding" header in the response.voidsetContentLanguage(String contentLanguage) Rewrite the "Content-Language" header in the response.voidsetContentType(String contentType) Rewrite the "Content-Type" header in the response.voidsetExpires(String expires) Rewrite the "Expires" header in the response.toString()
-
字段详细资料
-
contentType
-
contentLanguage
-
expires
-
cacheControl
-
contentDisposition
-
contentEncoding
-
-
构造器详细资料
-
ObjectRepleaceMetadata
public ObjectRepleaceMetadata()
-
-
方法详细资料
-
getContentType
Obtain the rewritten "Content-Type" header in the response.- 返回:
- "Content-Type" header in the response
-
setContentType
Rewrite the "Content-Type" header in the response.- 参数:
contentType- "Content-Type" header in the response
-
getContentLanguage
Obtain the rewritten "Content-Language" header in the response.- 返回:
- "Content-Language" header in the response
-
setContentLanguage
Rewrite the "Content-Language" header in the response.- 参数:
contentLanguage- "Content-Language" header in the response
-
getExpires
Obtain the rewritten "Expires" header in the response.- 返回:
- "Expires" header in the response
-
setExpires
Rewrite the "Expires" header in the response.- 参数:
expires- Rewritten "Expires" header in the response
-
getCacheControl
Obtain the rewritten "Cache-Control" header in the response.- 返回:
- "Cache-Control" header in the response
-
setCacheControl
Rewrite the "Cache-Control" header in the response.- 参数:
cacheControl- "Cache-Control" header in the response
-
getContentDisposition
Obtain the rewritten "Content-Disposition" header in the response.- 返回:
- "Content-Disposition" header in the response
-
setContentDisposition
Rewrite the "Content-Disposition" header in the response.- 参数:
contentDisposition- "Content-Disposition" header in the response
-
getContentEncoding
Obtain the rewritten "Content-Encoding" header in the response.- 返回:
- "Content-Encoding" header in the response
-
setContentEncoding
Rewrite the "Content-Encoding" header in the response.- 参数:
contentEncoding- "Content-Encoding" header in the response
-
toString
-