public class ContainerRequestContextImpl extends AbstractRequestContextImpl implements javax.ws.rs.container.ContainerRequestContext
h
m
Constructor and Description |
---|
ContainerRequestContextImpl(Message message,
boolean preMatch,
boolean responseContext) |
Modifier and Type | Method and Description |
---|---|
protected 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) |
abortWith, checkContext, getAcceptableLanguages, getAcceptableMediaTypes, getCookies, getDate, getHeaderString, getHttpHeaders, getLanguage, getLength, getMediaType, getMethod
getMessage, getProperty, getPropertyNames, removeProperty, setProperty
public ContainerRequestContextImpl(Message message, boolean preMatch, boolean responseContext)
public InputStream getEntityStream()
getEntityStream
in interface javax.ws.rs.container.ContainerRequestContext
public javax.ws.rs.core.Request getRequest()
getRequest
in interface javax.ws.rs.container.ContainerRequestContext
public javax.ws.rs.core.SecurityContext getSecurityContext()
getSecurityContext
in interface javax.ws.rs.container.ContainerRequestContext
public javax.ws.rs.core.UriInfo getUriInfo()
getUriInfo
in interface javax.ws.rs.container.ContainerRequestContext
public boolean hasEntity()
hasEntity
in interface javax.ws.rs.container.ContainerRequestContext
public void setEntityStream(InputStream is)
setEntityStream
in interface javax.ws.rs.container.ContainerRequestContext
public javax.ws.rs.core.MultivaluedMap<String,String> getHeaders()
getHeaders
in interface javax.ws.rs.container.ContainerRequestContext
public void setRequestUri(URI requestUri) throws IllegalStateException
setRequestUri
in interface javax.ws.rs.container.ContainerRequestContext
IllegalStateException
protected void doSetRequestUri(URI requestUri) throws IllegalStateException
IllegalStateException
public void setRequestUri(URI baseUri, URI requestUri) throws IllegalStateException
setRequestUri
in interface javax.ws.rs.container.ContainerRequestContext
IllegalStateException
public void setSecurityContext(javax.ws.rs.core.SecurityContext sc)
setSecurityContext
in interface javax.ws.rs.container.ContainerRequestContext
public void setMethod(String method) throws IllegalStateException
setMethod
in interface javax.ws.rs.container.ContainerRequestContext
setMethod
in class AbstractRequestContextImpl
IllegalStateException
Apache CXF