public abstract class BaseHttpRequest extends Object implements HttpRequest
| Modifier and Type | Field and Description |
|---|---|
protected MultivaluedMap<String,String> |
decodedFormParameters |
protected MultivaluedMap<String,String> |
formParameters |
protected ResteasyUriInfo |
uri |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseHttpRequest(ResteasyUriInfo uri) |
| Modifier and Type | Method and Description |
|---|---|
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
|
ResteasyUriInfo |
getUri()
This method *MUST* always return the same instance.
|
boolean |
isInitial() |
void |
setRequestUri(URI requestUri)
Updates the object returned by
HttpRequest.getUri(). |
void |
setRequestUri(URI baseUri,
URI requestUri)
Updates the object returned by
HttpRequest.getUri(). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforward, getAsyncContext, getAttribute, getAttributeNames, getHttpHeaders, getHttpMethod, getInputStream, getMutableHeaders, removeAttribute, setAttribute, setHttpMethod, setInputStream, wasForwardedprotected MultivaluedMap<String,String> formParameters
protected MultivaluedMap<String,String> decodedFormParameters
protected ResteasyUriInfo uri
protected BaseHttpRequest(ResteasyUriInfo uri)
public ResteasyUriInfo getUri()
HttpRequestgetUri in interface HttpRequestpublic MultivaluedMap<String,String> getFormParameters()
HttpRequestgetFormParameters in interface HttpRequestpublic MultivaluedMap<String,String> getDecodedFormParameters()
getDecodedFormParameters in interface HttpRequestpublic boolean isInitial()
isInitial in interface HttpRequestpublic void setRequestUri(URI requestUri) throws IllegalStateException
HttpRequestHttpRequest.getUri().setRequestUri in interface HttpRequestIllegalStateExceptionpublic void setRequestUri(URI baseUri, URI requestUri) throws IllegalStateException
HttpRequestHttpRequest.getUri().setRequestUri in interface HttpRequestIllegalStateExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.