public abstract class BaseHttpRequest extends Object implements HttpRequest
Modifier and Type | Field and Description |
---|---|
protected javax.ws.rs.core.MultivaluedMap<String,String> |
decodedFormParameters |
protected javax.ws.rs.core.MultivaluedMap<String,String> |
formParameters |
protected ResteasyUriInfo |
uri |
Modifier | Constructor and Description |
---|---|
protected |
BaseHttpRequest(ResteasyUriInfo uri) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.MultivaluedMap<String,String> |
getDecodedFormParameters() |
javax.ws.rs.core.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 javax.ws.rs.core.MultivaluedMap<String,String> decodedFormParameters
protected ResteasyUriInfo uri
protected BaseHttpRequest(ResteasyUriInfo uri)
public ResteasyUriInfo getUri()
HttpRequest
getUri
in interface HttpRequest
public javax.ws.rs.core.MultivaluedMap<String,String> getFormParameters()
HttpRequest
getFormParameters
in interface HttpRequest
public javax.ws.rs.core.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 © 2015 JBoss by Red Hat. All rights reserved.