org.jboss.resteasy.plugins.server.servlet
public class HttpServletInputMessage extends Object implements HttpRequest
Modifier and Type | Field and Description |
---|---|
protected AbstractAsynchronousResponse |
asynchronousResponse |
protected javax.ws.rs.core.MultivaluedMap<String,String> |
decodedFormParameters |
protected SynchronousDispatcher |
dispatcher |
protected javax.ws.rs.core.MultivaluedMap<String,String> |
formParameters |
protected javax.ws.rs.core.HttpHeaders |
httpHeaders |
protected String |
httpMethod |
protected HttpResponse |
httpResponse |
protected CountDownLatch |
latch |
protected InputStream |
overridenStream |
protected String |
preProcessedPath |
protected javax.servlet.http.HttpServletRequest |
request |
protected boolean |
suspended |
protected long |
suspendTimeout |
protected javax.ws.rs.core.UriInfo |
uri |
Constructor and Description |
---|
HttpServletInputMessage(javax.servlet.http.HttpServletRequest request,
HttpResponse httpResponse,
javax.ws.rs.core.HttpHeaders httpHeaders,
javax.ws.rs.core.UriInfo uri,
String httpMethod,
SynchronousDispatcher dispatcher) |
protected javax.ws.rs.core.HttpHeaders httpHeaders
protected javax.servlet.http.HttpServletRequest request
protected CountDownLatch latch
protected long suspendTimeout
protected SynchronousDispatcher dispatcher
protected HttpResponse httpResponse
protected boolean suspended
protected javax.ws.rs.core.UriInfo uri
protected String httpMethod
protected String preProcessedPath
protected javax.ws.rs.core.MultivaluedMap<String,String> decodedFormParameters
protected AbstractAsynchronousResponse asynchronousResponse
protected InputStream overridenStream
public HttpServletInputMessage(javax.servlet.http.HttpServletRequest request, HttpResponse httpResponse, javax.ws.rs.core.HttpHeaders httpHeaders, javax.ws.rs.core.UriInfo uri, String httpMethod, SynchronousDispatcher dispatcher)
public javax.ws.rs.core.MultivaluedMap<String,String> getPutDecodedFormParameters()
public Object getAttribute(String attribute)
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 javax.ws.rs.core.MultivaluedMap<String,String> getFormParameters()
getFormParameters
in interface HttpRequest
public javax.ws.rs.core.MultivaluedMap<String,String> getDecodedFormParameters()
getDecodedFormParameters
in interface HttpRequest
public javax.ws.rs.core.HttpHeaders getHttpHeaders()
getHttpHeaders
in interface HttpRequest
public InputStream getInputStream()
getInputStream
in interface HttpRequest
public void setInputStream(InputStream stream)
setInputStream
in interface HttpRequest
public javax.ws.rs.core.UriInfo getUri()
getUri
in interface HttpRequest
public String getHttpMethod()
getHttpMethod
in interface HttpRequest
public String getPreprocessedPath()
getPreprocessedPath
in interface HttpRequest
public void setPreprocessedPath(String path)
setPreprocessedPath
in interface HttpRequest
public AsynchronousResponse createAsynchronousResponse(long suspendTimeout)
createAsynchronousResponse
in interface HttpRequest
public AsynchronousResponse getAsynchronousResponse()
getAsynchronousResponse
in interface HttpRequest
public boolean isInitial()
isInitial
in interface HttpRequest
public boolean isTimeout()
public boolean isSuspended()
isSuspended
in interface HttpRequest
public void initialRequestThreadFinished()
initialRequestThreadFinished
in interface HttpRequest
Copyright © 2015. All Rights Reserved.