org.apache.cxf.jaxrs.impl
Class AbstractRequestContextImpl
java.lang.Object
org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
h
protected javax.ws.rs.core.HttpHeaders h
AbstractRequestContextImpl
public AbstractRequestContextImpl(Message message,
boolean responseContext)
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