|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.resteasy.specimpl.HttpHeadersImpl
public class HttpHeadersImpl
Field Summary |
---|
Fields inherited from interface javax.ws.rs.core.HttpHeaders |
---|
ACCEPT, ACCEPT_CHARSET, ACCEPT_ENCODING, ACCEPT_LANGUAGE, AUTHORIZATION, CACHE_CONTROL, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_LOCATION, CONTENT_TYPE, COOKIE, DATE, ETAG, EXPIRES, HOST, IF_MATCH, IF_MODIFIED_SINCE, IF_NONE_MATCH, IF_UNMODIFIED_SINCE, LAST_MODIFIED, LOCATION, SET_COOKIE, USER_AGENT, VARY, WWW_AUTHENTICATE |
Constructor Summary | |
---|---|
HttpHeadersImpl()
|
Method Summary | |
---|---|
java.util.List<java.util.Locale> |
getAcceptableLanguages()
Get a list of languages that are acceptable for the response. |
java.util.List<MediaType> |
getAcceptableMediaTypes()
Get a list of media types that are acceptable for the response. |
java.util.Map<java.lang.String,Cookie> |
getCookies()
Get any cookies that accompanied the request. |
java.util.Locale |
getLanguage()
Get the language of the request entity |
MediaType |
getMediaType()
Get the media type of the request entity |
java.util.List<java.lang.String> |
getRequestHeader(java.lang.String name)
Get the values of a HTTP request header. |
MultivaluedMap<java.lang.String,java.lang.String> |
getRequestHeaders()
Get the values of HTTP request headers. |
void |
setAcceptableLanguages(java.util.List<java.lang.String> acceptableLanguages)
|
void |
setAcceptableMediaTypes(java.util.List<MediaType> acceptableMediaTypes)
|
void |
setCookies(java.util.Map<java.lang.String,Cookie> cookies)
|
void |
setLanguage(java.lang.String language)
|
void |
setMediaType(MediaType mediaType)
|
void |
setRequestHeaders(MultivaluedMap<java.lang.String,java.lang.String> requestHeaders)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpHeadersImpl()
Method Detail |
---|
public MultivaluedMap<java.lang.String,java.lang.String> getRequestHeaders()
HttpHeaders
getRequestHeaders
in interface HttpHeaders
public void setRequestHeaders(MultivaluedMap<java.lang.String,java.lang.String> requestHeaders)
public java.util.List<MediaType> getAcceptableMediaTypes()
HttpHeaders
getAcceptableMediaTypes
in interface HttpHeaders
public void setAcceptableMediaTypes(java.util.List<MediaType> acceptableMediaTypes)
public MediaType getMediaType()
HttpHeaders
getMediaType
in interface HttpHeaders
public void setMediaType(MediaType mediaType)
public java.util.Locale getLanguage()
HttpHeaders
getLanguage
in interface HttpHeaders
public void setLanguage(java.lang.String language)
public void setAcceptableLanguages(java.util.List<java.lang.String> acceptableLanguages)
public java.util.Map<java.lang.String,Cookie> getCookies()
HttpHeaders
getCookies
in interface HttpHeaders
public void setCookies(java.util.Map<java.lang.String,Cookie> cookies)
public java.util.List<java.lang.String> getRequestHeader(java.lang.String name)
HttpHeaders
getRequestHeaders().get(name)
.
getRequestHeader
in interface HttpHeaders
name
- the header name, case insensitive
public java.util.List<java.util.Locale> getAcceptableLanguages()
HttpHeaders
getAcceptableLanguages
in interface HttpHeaders
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |