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()
Gets the Cache-Control header.
|
String |
getContentDisposition()
Gets the Content-Disposition header.
|
String |
getContentEncoding()
Gets the Content-Encoding header.
|
String |
getContentLangauge()
Gets the content language header.
|
String |
getContentType()
Gets the content type.
|
String |
getExpires()
Gets the expires header.
|
void |
setCacheControl(String cacheControl)
Sets the Cache-Control header.
|
void |
setContentDisposition(String contentDisposition)
Sets the Content-Disposition header.
|
void |
setContentEncoding(String contentEncoding)
Sets the Content-Encoding header.
|
void |
setContentLangauge(String contentLangauge)
Sets the content language.
|
void |
setContentType(String contentType)
Sets the content type.
|
void |
setExpires(String expires)
Sets the expires header.
|
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
- The override content type.public String getContentLangauge()
public void setContentLangauge(String contentLangauge)
contentLangauge
- The override content language header.public String getExpires()
public void setExpires(String expires)
expires
- The override expires header.public String getCacheControl()
public void setCacheControl(String cacheControl)
cacheControl
- The override Cache-Control header.public String getContentDisposition()
public void setContentDisposition(String contentDisposition)
contentDisposition
- The override Content-Disposition header.public String getContentEncoding()
public void setContentEncoding(String contentEncoding)
contentEncoding
- The override Content-Encoding header.Copyright © 2019. All Rights Reserved.