public class HttpHeadersContextProvider extends Object implements javax.ws.rs.core.HttpHeaders
ResteasyHttpHeaders
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 |
---|
HttpHeadersContextProvider(javax.ws.rs.client.ClientRequestContext context) |
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 name) |
Locale |
getLanguage() |
int |
getLength() |
javax.ws.rs.core.MediaType |
getMediaType() |
List<String> |
getRequestHeader(String name) |
javax.ws.rs.core.MultivaluedMap<String,String> |
getRequestHeaders() |
public HttpHeadersContextProvider(javax.ws.rs.client.ClientRequestContext context)
public javax.ws.rs.core.MultivaluedMap<String,String> getRequestHeaders()
getRequestHeaders
in interface javax.ws.rs.core.HttpHeaders
public List<String> getRequestHeader(String name)
getRequestHeader
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 Date getDate()
getDate
in interface javax.ws.rs.core.HttpHeaders
public String getHeaderString(String name)
getHeaderString
in interface javax.ws.rs.core.HttpHeaders
public Locale getLanguage()
getLanguage
in interface javax.ws.rs.core.HttpHeaders
public int getLength()
getLength
in interface javax.ws.rs.core.HttpHeaders
public javax.ws.rs.core.MediaType getMediaType()
getMediaType
in interface javax.ws.rs.core.HttpHeaders
public List<javax.ws.rs.core.MediaType> getAcceptableMediaTypes()
getAcceptableMediaTypes
in interface javax.ws.rs.core.HttpHeaders
Copyright © 2020 JBoss by Red Hat. All rights reserved.