Apache CXF API

org.apache.cxf.jaxrs.impl.tl
Class ThreadLocalHttpHeaders

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy<javax.ws.rs.core.HttpHeaders>
      extended by org.apache.cxf.jaxrs.impl.tl.ThreadLocalHttpHeaders
All Implemented Interfaces:
javax.ws.rs.core.HttpHeaders, ThreadLocalProxy<javax.ws.rs.core.HttpHeaders>

public class ThreadLocalHttpHeaders
extends AbstractThreadLocalProxy<javax.ws.rs.core.HttpHeaders>
implements javax.ws.rs.core.HttpHeaders


Field Summary
 
Fields inherited from interface 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_MODIFIED, LINK, LOCATION, RETRY_AFTER, SET_COOKIE, USER_AGENT, VARY, WWW_AUTHENTICATE
 
Constructor Summary
ThreadLocalHttpHeaders()
           
 
Method Summary
 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()
           
 
Methods inherited from class org.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy
get, remove, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalHttpHeaders

public ThreadLocalHttpHeaders()
Method Detail

getAcceptableMediaTypes

public List<javax.ws.rs.core.MediaType> getAcceptableMediaTypes()
Specified by:
getAcceptableMediaTypes in interface javax.ws.rs.core.HttpHeaders

getCookies

public Map<String,javax.ws.rs.core.Cookie> getCookies()
Specified by:
getCookies in interface javax.ws.rs.core.HttpHeaders

getLanguage

public Locale getLanguage()
Specified by:
getLanguage in interface javax.ws.rs.core.HttpHeaders

getMediaType

public javax.ws.rs.core.MediaType getMediaType()
Specified by:
getMediaType in interface javax.ws.rs.core.HttpHeaders

getRequestHeaders

public javax.ws.rs.core.MultivaluedMap<String,String> getRequestHeaders()
Specified by:
getRequestHeaders in interface javax.ws.rs.core.HttpHeaders

getAcceptableLanguages

public List<Locale> getAcceptableLanguages()
Specified by:
getAcceptableLanguages in interface javax.ws.rs.core.HttpHeaders

getRequestHeader

public List<String> getRequestHeader(String name)
Specified by:
getRequestHeader in interface javax.ws.rs.core.HttpHeaders

getDate

public Date getDate()
Specified by:
getDate in interface javax.ws.rs.core.HttpHeaders

getHeaderString

public String getHeaderString(String name)
Specified by:
getHeaderString in interface javax.ws.rs.core.HttpHeaders

getLength

public int getLength()
Specified by:
getLength in interface javax.ws.rs.core.HttpHeaders

Apache CXF API

Apache CXF