public class HttpServletInputMessage extends BaseHttpRequest
Modifier and Type | Field and Description |
---|---|
protected SynchronousDispatcher |
dispatcher |
protected SynchronousExecutionContext |
executionContext |
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 boolean |
wasForwarded |
decodedFormParameters, formParameters, uri
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) |
Modifier and Type | Method and Description |
---|---|
void |
forward(String path) |
ResteasyAsynchronousContext |
getAsyncContext() |
Object |
getAttribute(String attribute)
Map of contextual data.
|
Enumeration<String> |
getAttributeNames() |
javax.ws.rs.core.MultivaluedMap<String,String> |
getDecodedFormParameters() |
javax.ws.rs.core.MultivaluedMap<String,String> |
getFormParameters()
application/x-www-form-urlencoded parameters
This is here because @FormParam needs it and for when there are servlet filters that eat up the input stream
|
javax.ws.rs.core.HttpHeaders |
getHttpHeaders() |
String |
getHttpMethod() |
InputStream |
getInputStream() |
javax.ws.rs.core.MultivaluedMap<String,String> |
getMutableHeaders() |
javax.ws.rs.core.MultivaluedMap<String,String> |
getPutDecodedFormParameters() |
javax.ws.rs.core.MultivaluedMap<String,String> |
getPutFormParameters() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setHttpMethod(String method) |
void |
setInputStream(InputStream stream)
If you are using a servlet container, this will *NOT* override the HttpServletRequest.getInputStream().
|
boolean |
wasForwarded() |
getUri, isInitial, setRequestUri, setRequestUri
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 String httpMethod
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 javax.ws.rs.core.MultivaluedMap<String,String> getPutDecodedFormParameters()
public Object getAttribute(String attribute)
HttpRequest
public void removeAttribute(String name)
public Enumeration<String> getAttributeNames()
public javax.ws.rs.core.MultivaluedMap<String,String> getFormParameters()
HttpRequest
getFormParameters
in interface HttpRequest
getFormParameters
in class BaseHttpRequest
public javax.ws.rs.core.MultivaluedMap<String,String> getDecodedFormParameters()
getDecodedFormParameters
in interface HttpRequest
getDecodedFormParameters
in class BaseHttpRequest
public javax.ws.rs.core.HttpHeaders getHttpHeaders()
public InputStream getInputStream()
public void setInputStream(InputStream stream)
HttpRequest
public String getHttpMethod()
public void setHttpMethod(String method)
public ResteasyAsynchronousContext getAsyncContext()
public void forward(String path)
public boolean wasForwarded()
Copyright © 2015 JBoss by Red Hat. All rights reserved.