|
||||||||||
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 |
Object |
getAttribute(String attribute)
Map of contextual data. |
MultivaluedMap<String,String> |
getDecodedFormParameters()
|
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 |
HttpHeaders |
getHttpHeaders()
|
String |
getHttpMethod()
|
InputStream |
getInputStream()
|
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(String name)
|
void |
setAttribute(String name,
Object value)
|
void |
setInputStream(InputStream stream)
If you are using a servlet container, this will *NOT* override the HttpServletRequest.getInputStream(). |
void |
setPreprocessedPath(String path)
|
Method Detail |
---|
HttpHeaders getHttpHeaders()
InputStream getInputStream()
void setInputStream(InputStream stream)
stream
- UriInfo getUri()
String getHttpMethod()
String getPreprocessedPath()
void setPreprocessedPath(String path)
MultivaluedMap<String,String> getFormParameters()
MultivaluedMap<String,String> getDecodedFormParameters()
Object getAttribute(String attribute)
void setAttribute(String name, Object value)
void removeAttribute(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 |