public class ResponseHeaderOverrides extends Object
限定符和类型 | 字段和说明 |
---|---|
static String |
RESPONSE_HEADER_CACHE_CONTROL |
static String |
RESPONSE_HEADER_CONTENT_DISPOSITION |
static String |
RESPONSE_HEADER_CONTENT_ENCODING |
static String |
RESPONSE_HEADER_CONTENT_LANGUAGE |
static String |
RESPONSE_HEADER_CONTENT_TYPE |
static String |
RESPONSE_HEADER_EXPIRES |
构造器和说明 |
---|
ResponseHeaderOverrides() |
限定符和类型 | 方法和说明 |
---|---|
String |
getCacheControl()
返回重载的cacheControl返回请求头。
|
String |
getContentDisposition()
返回重载的contentDisposition返回请求头。
|
String |
getContentEncoding()
返回重载的contentEncoding返回请求头。
|
String |
getContentLangauge()
返回重载的content language返回请求头。
|
String |
getContentType()
返回重载的content type返回请求头。
|
String |
getExpires()
返回重载的expires返回请求头。
|
void |
setCacheControl(String cacheControl)
设置重载的cacheControl返回请求头。
|
void |
setContentDisposition(String contentDisposition)
设置重载的contentDisposition返回请求头。
|
void |
setContentEncoding(String contentEncoding)
设置重载的contentEncoding返回请求头。
|
void |
setContentLangauge(String contentLangauge)
设置重载的content language返回请求头。
|
void |
setContentType(String contentType)
设置重载的content type返回请求头。
|
void |
setExpires(String expires)
设置重载的expires返回请求头。
|
public static final String RESPONSE_HEADER_CONTENT_LANGUAGE
public static final String RESPONSE_HEADER_CONTENT_DISPOSITION
public String getContentType()
public void setContentType(String contentType)
contentType
- 重载的content type返回请求头。public String getContentLangauge()
public void setContentLangauge(String contentLangauge)
contentLangauge
- 重载的content language返回请求头。public String getExpires()
public void setExpires(String expires)
expires
- 重载的expires返回请求头。public String getCacheControl()
public void setCacheControl(String cacheControl)
cacheControl
- 重载的cacheControl返回请求头。public String getContentDisposition()
public void setContentDisposition(String contentDisposition)
contentDisposition
- 重载的contentDisposition返回请求头。public String getContentEncoding()
public void setContentEncoding(String contentEncoding)
contentEncoding
- 重载的contentEncoding返回请求头。Copyright © 2017. All Rights Reserved.