|
RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.resteasy.plugins.server.BaseHttpRequest
public abstract class BaseHttpRequest
Helper for creating HttpRequest implementations. The async code is a fake implementation to work with http engines that don't support async HTTP.
Field Summary | |
---|---|
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 HttpResponse |
httpResponse
|
protected CountDownLatch |
latch
|
protected boolean |
suspended
|
protected long |
suspendTimeout
|
Constructor Summary | |
---|---|
BaseHttpRequest(SynchronousDispatcher dispatcher)
|
Method Summary | |
---|---|
AsynchronousResponse |
createAsynchronousResponse(long suspendTimeout)
This method will create an asynchronous response and prepare the request to be issued asynchronously |
AsynchronousResponse |
getAsynchronousResponse()
Returns the AsynchronousResponse created by createAsynchronousResponse |
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 |
void |
initialRequestThreadFinished()
Callback by the initial calling thread. |
boolean |
isInitial()
Asynchronous HTTP support. |
boolean |
isSuspended()
Asynchronous HTTP support. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.resteasy.spi.HttpRequest |
---|
getAttribute, getHttpHeaders, getHttpMethod, getInputStream, getPreprocessedPath, getUri, removeAttribute, setAttribute, setInputStream, setPreprocessedPath |
Field Detail |
---|
protected CountDownLatch latch
protected long suspendTimeout
protected SynchronousDispatcher dispatcher
protected boolean suspended
protected javax.ws.rs.core.MultivaluedMap<String,String> formParameters
protected javax.ws.rs.core.MultivaluedMap<String,String> decodedFormParameters
protected AbstractAsynchronousResponse asynchronousResponse
protected HttpResponse httpResponse
Constructor Detail |
---|
public BaseHttpRequest(SynchronousDispatcher dispatcher)
Method Detail |
---|
public javax.ws.rs.core.MultivaluedMap<String,String> getFormParameters()
HttpRequest
getFormParameters
in interface HttpRequest
public javax.ws.rs.core.MultivaluedMap<String,String> getDecodedFormParameters()
getDecodedFormParameters
in interface HttpRequest
public AsynchronousResponse createAsynchronousResponse(long suspendTimeout)
HttpRequest
createAsynchronousResponse
in interface HttpRequest
public AsynchronousResponse getAsynchronousResponse()
HttpRequest
getAsynchronousResponse
in interface HttpRequest
public boolean isInitial()
HttpRequest
isInitial
in interface HttpRequest
public boolean isSuspended()
HttpRequest
isSuspended
in interface HttpRequest
public void initialRequestThreadFinished()
HttpRequest
initialRequestThreadFinished
in interface HttpRequest
|
RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |