public class HttpServerRequest extends BaseHttpRequest
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
attributes |
protected com.sun.net.httpserver.HttpExchange |
exchange |
protected ResteasyHttpHeaders |
httpHeaders |
protected String |
httpMethod |
protected String |
preProcessedPath |
protected ResteasyUriInfo |
uriInfo |
decodedFormParameters, dispatcher, formParameters, httpResponse
Constructor and Description |
---|
HttpServerRequest(SynchronousDispatcher dispatcher,
HttpResponse httpResponse,
com.sun.net.httpserver.HttpExchange exchange) |
Modifier and Type | Method and Description |
---|---|
ResteasyAsynchronousContext |
getAsyncContext() |
Object |
getAttribute(String attribute)
Map of contextual data.
|
Enumeration<String> |
getAttributeNames() |
HttpHeaders |
getHttpHeaders() |
String |
getHttpMethod() |
InputStream |
getInputStream() |
MultivaluedMap<String,String> |
getMutableHeaders() |
ResteasyUriInfo |
getUri() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setHttpMethod(String method) |
void |
setInputStream(InputStream stream)
If you are using a servlet container, this will *NOT* override the HttpServletRequest.getInputStream().
|
void |
setRequestUri(URI requestUri) |
void |
setRequestUri(URI baseUri,
URI requestUri) |
getDecodedFormParameters, getFormParameters, isInitial
protected com.sun.net.httpserver.HttpExchange exchange
protected ResteasyHttpHeaders httpHeaders
protected ResteasyUriInfo uriInfo
protected String preProcessedPath
protected String httpMethod
public HttpServerRequest(SynchronousDispatcher dispatcher, HttpResponse httpResponse, com.sun.net.httpserver.HttpExchange exchange)
public MultivaluedMap<String,String> getMutableHeaders()
public void setRequestUri(URI requestUri) throws IllegalStateException
IllegalStateException
public void setRequestUri(URI baseUri, URI requestUri) throws IllegalStateException
IllegalStateException
public HttpHeaders getHttpHeaders()
public InputStream getInputStream()
public void setInputStream(InputStream stream)
HttpRequest
public ResteasyUriInfo getUri()
public String getHttpMethod()
public void setHttpMethod(String method)
public Object getAttribute(String attribute)
HttpRequest
public void removeAttribute(String name)
public Enumeration<String> getAttributeNames()
public ResteasyAsynchronousContext getAsyncContext()
Copyright © 2013. All Rights Reserved.