public class HttpServletInputMessage extends Object implements HttpRequest
Modifier and Type | Field and Description |
---|---|
protected MultivaluedMap<String,String> |
decodedFormParameters |
protected SynchronousDispatcher |
dispatcher |
protected SynchronousExecutionContext |
executionContext |
protected MultivaluedMap<String,String> |
formParameters |
protected ResteasyHttpHeaders |
httpHeaders |
protected String |
httpMethod |
protected HttpResponse |
httpResponse |
protected InputStream |
overridenStream |
protected javax.servlet.http.HttpServletRequest |
request |
protected javax.servlet.ServletContext |
servletContext |
protected javax.servlet.http.HttpServletResponse |
servletResponse |
protected ResteasyUriInfo |
uri |
protected boolean |
wasForwarded |
Constructor and Description |
---|
HttpServletInputMessage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse servletResponse,
javax.servlet.ServletContext servletContext,
HttpResponse httpResponse,
ResteasyHttpHeaders httpHeaders,
ResteasyUriInfo uri,
String httpMethod,
SynchronousDispatcher dispatcher) |
protected ResteasyHttpHeaders httpHeaders
protected javax.servlet.http.HttpServletRequest request
protected javax.servlet.http.HttpServletResponse servletResponse
protected javax.servlet.ServletContext servletContext
protected SynchronousDispatcher dispatcher
protected HttpResponse httpResponse
protected ResteasyUriInfo uri
protected String httpMethod
protected MultivaluedMap<String,String> formParameters
protected MultivaluedMap<String,String> decodedFormParameters
protected InputStream overridenStream
protected SynchronousExecutionContext executionContext
protected boolean wasForwarded
public HttpServletInputMessage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse servletResponse, javax.servlet.ServletContext servletContext, HttpResponse httpResponse, ResteasyHttpHeaders httpHeaders, ResteasyUriInfo uri, String httpMethod, SynchronousDispatcher dispatcher)
public MultivaluedMap<String,String> getMutableHeaders()
getMutableHeaders
in interface HttpRequest
public void setRequestUri(URI requestUri) throws IllegalStateException
setRequestUri
in interface HttpRequest
IllegalStateException
public void setRequestUri(URI baseUri, URI requestUri) throws IllegalStateException
setRequestUri
in interface HttpRequest
IllegalStateException
public MultivaluedMap<String,String> getPutFormParameters()
public MultivaluedMap<String,String> getPutDecodedFormParameters()
public Object getAttribute(String attribute)
HttpRequest
getAttribute
in interface HttpRequest
public void setAttribute(String name, Object value)
setAttribute
in interface HttpRequest
public void removeAttribute(String name)
removeAttribute
in interface HttpRequest
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface HttpRequest
public MultivaluedMap<String,String> getFormParameters()
HttpRequest
getFormParameters
in interface HttpRequest
public MultivaluedMap<String,String> getDecodedFormParameters()
getDecodedFormParameters
in interface HttpRequest
public HttpHeaders getHttpHeaders()
getHttpHeaders
in interface HttpRequest
public InputStream getInputStream()
getInputStream
in interface HttpRequest
public void setInputStream(InputStream stream)
HttpRequest
setInputStream
in interface HttpRequest
public ResteasyUriInfo getUri()
getUri
in interface HttpRequest
public String getHttpMethod()
getHttpMethod
in interface HttpRequest
public void setHttpMethod(String method)
setHttpMethod
in interface HttpRequest
public ResteasyAsynchronousContext getAsyncContext()
getAsyncContext
in interface HttpRequest
public boolean isInitial()
isInitial
in interface HttpRequest
public void forward(String path)
forward
in interface HttpRequest
public boolean wasForwarded()
wasForwarded
in interface HttpRequest
Copyright © 2013. All Rights Reserved.