public class HttpHeadersImpl extends Object implements javax.ws.rs.core.HttpHeaders
ACCEPT, ACCEPT_CHARSET, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ALLOW, AUTHORIZATION, CACHE_CONTROL, CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_ID, 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_EVENT_ID_HEADER, LAST_MODIFIED, LINK, LOCATION, RETRY_AFTER, SET_COOKIE, USER_AGENT, VARY, WWW_AUTHENTICATE
Constructor and Description |
---|
HttpHeadersImpl(Message message) |
Modifier and Type | Method and Description |
---|---|
List<Locale> |
getAcceptableLanguages() |
List<javax.ws.rs.core.MediaType> |
getAcceptableMediaTypes() |
Map<String,javax.ws.rs.core.Cookie> |
getCookies() |
Date |
getDate() |
String |
getHeaderString(String headerName) |
Locale |
getLanguage() |
int |
getLength() |
javax.ws.rs.core.MediaType |
getMediaType() |
List<String> |
getRequestHeader(String name) |
javax.ws.rs.core.MultivaluedMap<String,String> |
getRequestHeaders() |
public HttpHeadersImpl(Message message)
public List<javax.ws.rs.core.MediaType> getAcceptableMediaTypes()
getAcceptableMediaTypes
in interface javax.ws.rs.core.HttpHeaders
public Map<String,javax.ws.rs.core.Cookie> getCookies()
getCookies
in interface javax.ws.rs.core.HttpHeaders
public Locale getLanguage()
getLanguage
in interface javax.ws.rs.core.HttpHeaders
public javax.ws.rs.core.MediaType getMediaType()
getMediaType
in interface javax.ws.rs.core.HttpHeaders
public javax.ws.rs.core.MultivaluedMap<String,String> getRequestHeaders()
getRequestHeaders
in interface javax.ws.rs.core.HttpHeaders
public List<Locale> getAcceptableLanguages()
getAcceptableLanguages
in interface javax.ws.rs.core.HttpHeaders
public List<String> getRequestHeader(String name)
getRequestHeader
in interface javax.ws.rs.core.HttpHeaders
public Date getDate()
getDate
in interface javax.ws.rs.core.HttpHeaders
public String getHeaderString(String headerName)
getHeaderString
in interface javax.ws.rs.core.HttpHeaders
public int getLength()
getLength
in interface javax.ws.rs.core.HttpHeaders
Apache CXF