|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpRequest
Bridge interface between the base Resteasy JAX-RS implementation and the actual HTTP transport (i.e. a servlet container)
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 |
java.lang.Object |
getAttribute(java.lang.String attribute)
Map of contextual data. |
MultivaluedMap<java.lang.String,java.lang.String> |
getDecodedFormParameters()
|
MultivaluedMap<java.lang.String,java.lang.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 |
HttpHeaders |
getHttpHeaders()
|
java.lang.String |
getHttpMethod()
|
java.io.InputStream |
getInputStream()
|
java.lang.String |
getPreprocessedPath()
Encoded preprocessed path with extension mappings and matrix parameters removed |
UriInfo |
getUri()
|
void |
initialRequestThreadFinished()
Callback by the initial calling thread. |
boolean |
isInitial()
Asynchronous HTTP support. |
boolean |
isSuspended()
Asynchronous HTTP support. |
void |
removeAttribute(java.lang.String name)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
|
void |
setInputStream(java.io.InputStream stream)
If you are using a servlet container, this will *NOT* override the HttpServletRequest.getInputStream(). |
void |
setPreprocessedPath(java.lang.String path)
|
Method Detail |
---|
HttpHeaders getHttpHeaders()
java.io.InputStream getInputStream()
void setInputStream(java.io.InputStream stream)
stream
- UriInfo getUri()
java.lang.String getHttpMethod()
java.lang.String getPreprocessedPath()
void setPreprocessedPath(java.lang.String path)
MultivaluedMap<java.lang.String,java.lang.String> getFormParameters()
MultivaluedMap<java.lang.String,java.lang.String> getDecodedFormParameters()
java.lang.Object getAttribute(java.lang.String attribute)
void setAttribute(java.lang.String name, java.lang.Object value)
void removeAttribute(java.lang.String name)
boolean isInitial()
boolean isSuspended()
AsynchronousResponse createAsynchronousResponse(long suspendTimeout)
AsynchronousResponse getAsynchronousResponse()
void initialRequestThreadFinished()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |