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, wait
forward, getAsyncContext, getAttribute, getAttributeNames, getHttpHeaders, getHttpMethod, getInputStream, getMutableHeaders, removeAttribute, setAttribute, setHttpMethod, setInputStream, wasForwarded
protected MultivaluedMap<String,String> formParameters
protected MultivaluedMap<String,String> decodedFormParameters
protected ResteasyUriInfo uri
protected BaseHttpRequest(ResteasyUriInfo uri)
public ResteasyUriInfo getUri()
HttpRequest
getUri
in interface HttpRequest
public MultivaluedMap<String,String> getFormParameters()
HttpRequest
getFormParameters
in interface HttpRequest
public MultivaluedMap<String,String> getDecodedFormParameters()
getDecodedFormParameters
in interface HttpRequest
public boolean isInitial()
isInitial
in interface HttpRequest
public void setRequestUri(URI requestUri) throws IllegalStateException
HttpRequest
HttpRequest.getUri()
.setRequestUri
in interface HttpRequest
IllegalStateException
public void setRequestUri(URI baseUri, URI requestUri) throws IllegalStateException
HttpRequest
HttpRequest.getUri()
.setRequestUri
in interface HttpRequest
IllegalStateException
Copyright © 2014. All Rights Reserved.