Apache CXF API

org.apache.cxf.jaxrs.impl
Class AbstractRequestContextImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
      extended by org.apache.cxf.jaxrs.impl.AbstractRequestContextImpl
Direct Known Subclasses:
ClientRequestContextImpl, ContainerRequestContextImpl

public abstract class AbstractRequestContextImpl
extends AbstractPropertiesImpl


Field Summary
protected  javax.ws.rs.core.HttpHeaders h
           
 
Fields inherited from class org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
m
 
Constructor Summary
AbstractRequestContextImpl(Message message, boolean responseContext)
           
 
Method Summary
 void abortWith(javax.ws.rs.core.Response response)
           
protected  void checkContext()
           
 List<Locale> getAcceptableLanguages()
           
 List<javax.ws.rs.core.MediaType> getAcceptableMediaTypes()
           
 Map<String,javax.ws.rs.core.Cookie> getCookies()
           
 Date getDate()
           
 String getHeaderString(String name)
           
protected  javax.ws.rs.core.HttpHeaders getHttpHeaders()
           
 Locale getLanguage()
           
 int getLength()
           
 javax.ws.rs.core.MediaType getMediaType()
           
 String getMethod()
           
 void setMethod(String method)
           
 
Methods inherited from class org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
getProperty, getPropertyNames, removeProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

h

protected javax.ws.rs.core.HttpHeaders h
Constructor Detail

AbstractRequestContextImpl

public AbstractRequestContextImpl(Message message,
                                  boolean responseContext)
Method Detail

abortWith

public void abortWith(javax.ws.rs.core.Response response)

getAcceptableLanguages

public List<Locale> getAcceptableLanguages()

getAcceptableMediaTypes

public List<javax.ws.rs.core.MediaType> getAcceptableMediaTypes()

getCookies

public Map<String,javax.ws.rs.core.Cookie> getCookies()

getDate

public Date getDate()

getHeaderString

public String getHeaderString(String name)

getLanguage

public Locale getLanguage()

getLength

public int getLength()

getMediaType

public javax.ws.rs.core.MediaType getMediaType()

getMethod

public String getMethod()

setMethod

public void setMethod(String method)
               throws IllegalStateException
Throws:
IllegalStateException

getHttpHeaders

protected javax.ws.rs.core.HttpHeaders getHttpHeaders()

checkContext

protected void checkContext()

Apache CXF API

Apache CXF