Apache CXF API

org.apache.cxf.jaxrs.impl
Class ContainerRequestContextImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
      extended by org.apache.cxf.jaxrs.impl.AbstractRequestContextImpl
          extended by org.apache.cxf.jaxrs.impl.ContainerRequestContextImpl
All Implemented Interfaces:
javax.ws.rs.container.ContainerRequestContext

public class ContainerRequestContextImpl
extends AbstractRequestContextImpl
implements javax.ws.rs.container.ContainerRequestContext


Field Summary
 
Fields inherited from class org.apache.cxf.jaxrs.impl.AbstractRequestContextImpl
h
 
Fields inherited from class org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
m
 
Constructor Summary
ContainerRequestContextImpl(Message message, boolean preMatch, boolean responseContext)
           
 
Method Summary
 void doSetRequestUri(URI requestUri)
           
 InputStream getEntityStream()
           
 javax.ws.rs.core.MultivaluedMap<String,String> getHeaders()
           
 javax.ws.rs.core.Request getRequest()
           
 javax.ws.rs.core.SecurityContext getSecurityContext()
           
 javax.ws.rs.core.UriInfo getUriInfo()
           
 boolean hasEntity()
           
 void setEntityStream(InputStream is)
           
 void setMethod(String method)
           
 void setRequestUri(URI requestUri)
           
 void setRequestUri(URI baseUri, URI requestUri)
           
 void setSecurityContext(javax.ws.rs.core.SecurityContext sc)
           
 
Methods inherited from class org.apache.cxf.jaxrs.impl.AbstractRequestContextImpl
abortWith, checkContext, getAcceptableLanguages, getAcceptableMediaTypes, getCookies, getDate, getHeaderString, getHttpHeaders, getLanguage, getLength, getMediaType, getMethod
 
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
 
Methods inherited from interface javax.ws.rs.container.ContainerRequestContext
abortWith, getAcceptableLanguages, getAcceptableMediaTypes, getCookies, getDate, getHeaderString, getLanguage, getLength, getMediaType, getMethod, getProperty, getPropertyNames, removeProperty, setProperty
 

Constructor Detail

ContainerRequestContextImpl

public ContainerRequestContextImpl(Message message,
                                   boolean preMatch,
                                   boolean responseContext)
Method Detail

getEntityStream

public InputStream getEntityStream()
Specified by:
getEntityStream in interface javax.ws.rs.container.ContainerRequestContext

getRequest

public javax.ws.rs.core.Request getRequest()
Specified by:
getRequest in interface javax.ws.rs.container.ContainerRequestContext

getSecurityContext

public javax.ws.rs.core.SecurityContext getSecurityContext()
Specified by:
getSecurityContext in interface javax.ws.rs.container.ContainerRequestContext

getUriInfo

public javax.ws.rs.core.UriInfo getUriInfo()
Specified by:
getUriInfo in interface javax.ws.rs.container.ContainerRequestContext

hasEntity

public boolean hasEntity()
Specified by:
hasEntity in interface javax.ws.rs.container.ContainerRequestContext

setEntityStream

public void setEntityStream(InputStream is)
Specified by:
setEntityStream in interface javax.ws.rs.container.ContainerRequestContext

getHeaders

public javax.ws.rs.core.MultivaluedMap<String,String> getHeaders()
Specified by:
getHeaders in interface javax.ws.rs.container.ContainerRequestContext

setRequestUri

public void setRequestUri(URI requestUri)
                   throws IllegalStateException
Specified by:
setRequestUri in interface javax.ws.rs.container.ContainerRequestContext
Throws:
IllegalStateException

doSetRequestUri

public void doSetRequestUri(URI requestUri)
                     throws IllegalStateException
Throws:
IllegalStateException

setRequestUri

public void setRequestUri(URI baseUri,
                          URI requestUri)
                   throws IllegalStateException
Specified by:
setRequestUri in interface javax.ws.rs.container.ContainerRequestContext
Throws:
IllegalStateException

setSecurityContext

public void setSecurityContext(javax.ws.rs.core.SecurityContext sc)
Specified by:
setSecurityContext in interface javax.ws.rs.container.ContainerRequestContext

setMethod

public void setMethod(String method)
               throws IllegalStateException
Specified by:
setMethod in interface javax.ws.rs.container.ContainerRequestContext
Overrides:
setMethod in class AbstractRequestContextImpl
Throws:
IllegalStateException

Apache CXF API

Apache CXF