Class BaseHttpRequest
- java.lang.Object
-
- org.jboss.resteasy.plugins.server.BaseHttpRequest
-
- All Implemented Interfaces:
HttpRequest
- Direct Known Subclasses:
HttpServletInputMessage,MockHttpRequest
public abstract class BaseHttpRequest extends Object implements HttpRequest
Helper for creating HttpRequest implementations. The async code is a fake implementation to work with http engines that don't support async HTTP.- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.ws.rs.core.MultivaluedMap<String,String>decodedFormParametersprotected jakarta.ws.rs.core.MultivaluedMap<String,String>formParametersprotected ResteasyUriInfouri
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseHttpRequest(ResteasyUriInfo uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanformParametersRead()jakarta.ws.rs.core.MultivaluedMap<String,String>getDecodedFormParameters()jakarta.ws.rs.core.MultivaluedMap<String,String>getFormParameters()ResteasyUriInfogetUri()booleanisInitial()voidsetRequestUri(URI requestUri)voidsetRequestUri(URI baseUri, URI requestUri)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.resteasy.spi.HttpRequest
forward, getAsyncContext, getAttribute, getAttributeNames, getFormEntityPart, getFormEntityParts, getHttpHeaders, getHttpMethod, getInputStream, getMutableHeaders, getRemoteAddress, getRemoteHost, removeAttribute, setAttribute, setHttpMethod, setInputStream, wasForwarded
-
-
-
-
Field Detail
-
decodedFormParameters
protected jakarta.ws.rs.core.MultivaluedMap<String,String> decodedFormParameters
-
uri
protected ResteasyUriInfo uri
-
-
Constructor Detail
-
BaseHttpRequest
protected BaseHttpRequest(ResteasyUriInfo uri)
-
-
Method Detail
-
getUri
public ResteasyUriInfo getUri()
- Specified by:
getUriin interfaceHttpRequest
-
formParametersRead
public boolean formParametersRead()
- Specified by:
formParametersReadin interfaceHttpRequest
-
getFormParameters
public jakarta.ws.rs.core.MultivaluedMap<String,String> getFormParameters()
- Specified by:
getFormParametersin interfaceHttpRequest
-
getDecodedFormParameters
public jakarta.ws.rs.core.MultivaluedMap<String,String> getDecodedFormParameters()
- Specified by:
getDecodedFormParametersin interfaceHttpRequest
-
isInitial
public boolean isInitial()
- Specified by:
isInitialin interfaceHttpRequest
-
setRequestUri
public void setRequestUri(URI requestUri) throws IllegalStateException
- Specified by:
setRequestUriin interfaceHttpRequest- Throws:
IllegalStateException
-
setRequestUri
public void setRequestUri(URI baseUri, URI requestUri) throws IllegalStateException
- Specified by:
setRequestUriin interfaceHttpRequest- Throws:
IllegalStateException
-
-