Class HttpServerRequest
- java.lang.Object
-
- org.jboss.resteasy.plugins.server.BaseHttpRequest
-
- org.jboss.resteasy.plugins.server.sun.http.HttpServerRequest
-
- All Implemented Interfaces:
HttpRequest
public class HttpServerRequest extends org.jboss.resteasy.plugins.server.BaseHttpRequest- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Object>attributesprotected org.jboss.resteasy.core.SynchronousDispatcherdispatcherprotected HttpExchangeexchangeprotected org.jboss.resteasy.specimpl.ResteasyHttpHeadershttpHeadersprotected StringhttpMethodprotected HttpResponsehttpResponseprotected StringpreProcessedPath
-
Constructor Summary
Constructors Constructor Description HttpServerRequest(org.jboss.resteasy.core.SynchronousDispatcher dispatcher, HttpResponse httpResponse, HttpExchange exchange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforward(String path)ResteasyAsynchronousContextgetAsyncContext()ObjectgetAttribute(String attribute)Enumeration<String>getAttributeNames()jakarta.ws.rs.core.HttpHeadersgetHttpHeaders()StringgetHttpMethod()InputStreamgetInputStream()jakarta.ws.rs.core.MultivaluedMap<String,String>getMutableHeaders()StringgetRemoteAddress()StringgetRemoteHost()voidremoveAttribute(String name)voidsetAttribute(String name, Object value)voidsetHttpMethod(String method)voidsetInputStream(InputStream stream)booleanwasForwarded()-
Methods inherited from class org.jboss.resteasy.plugins.server.BaseHttpRequest
formParametersRead, getDecodedFormParameters, getFormParameters, getUri, isInitial, setRequestUri, setRequestUri
-
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
getFormEntityPart, getFormEntityParts
-
-
-
-
Field Detail
-
dispatcher
protected org.jboss.resteasy.core.SynchronousDispatcher dispatcher
-
httpResponse
protected HttpResponse httpResponse
-
exchange
protected HttpExchange exchange
-
httpHeaders
protected org.jboss.resteasy.specimpl.ResteasyHttpHeaders httpHeaders
-
preProcessedPath
protected String preProcessedPath
-
httpMethod
protected String httpMethod
-
-
Constructor Detail
-
HttpServerRequest
public HttpServerRequest(org.jboss.resteasy.core.SynchronousDispatcher dispatcher, HttpResponse httpResponse, HttpExchange exchange)
-
-
Method Detail
-
getHttpHeaders
public jakarta.ws.rs.core.HttpHeaders getHttpHeaders()
-
getInputStream
public InputStream getInputStream()
-
setInputStream
public void setInputStream(InputStream stream)
-
getHttpMethod
public String getHttpMethod()
-
setHttpMethod
public void setHttpMethod(String method)
-
removeAttribute
public void removeAttribute(String name)
-
getAttributeNames
public Enumeration<String> getAttributeNames()
-
getAsyncContext
public ResteasyAsynchronousContext getAsyncContext()
-
forward
public void forward(String path)
-
wasForwarded
public boolean wasForwarded()
-
getRemoteHost
public String getRemoteHost()
-
getRemoteAddress
public String getRemoteAddress()
-
-