org.apache.cxf.jaxrs.impl
Class ContainerRequestContextImpl
java.lang.Object
org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
org.apache.cxf.jaxrs.impl.AbstractRequestContextImpl
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
Methods inherited from class org.apache.cxf.jaxrs.impl.AbstractRequestContextImpl |
abortWith, checkContext, getAcceptableLanguages, getAcceptableMediaTypes, getCookies, getDate, getHeaderString, getHttpHeaders, getLanguage, getLength, getMediaType, getMethod, setMethod |
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, setMethod, setProperty |
ContainerRequestContextImpl
public ContainerRequestContextImpl(Message message,
boolean preMatch,
boolean responseContext)
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
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
Apache CXF