|
||||||||||
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 | |
---|---|
ResteasyAsynchronousContext |
getAsyncContext()
|
Object |
getAttribute(String attribute)
Map of contextual data. |
Enumeration<String> |
getAttributeNames()
|
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()
|
ResteasyUriInfo |
getUri()
|
boolean |
isInitial()
|
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(). |
void |
setRequestUri(URI requestUri)
|
void |
setRequestUri(URI baseUri,
URI requestUri)
|
Method Detail |
---|
HttpHeaders getHttpHeaders()
InputStream getInputStream()
void setInputStream(InputStream stream)
stream
- ResteasyUriInfo getUri()
String getHttpMethod()
void setHttpMethod(String method)
void setRequestUri(URI requestUri) throws IllegalStateException
IllegalStateException
void setRequestUri(URI baseUri, URI requestUri) throws IllegalStateException
IllegalStateException
MultivaluedMap<String,String> getFormParameters()
MultivaluedMap<String,String> getDecodedFormParameters()
Object getAttribute(String attribute)
void setAttribute(String name, Object value)
void removeAttribute(String name)
Enumeration<String> getAttributeNames()
ResteasyAsynchronousContext getAsyncContext()
boolean isInitial()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |