org.jboss.resteasy.plugins.server.sun.http
public class HttpServerRequest extends BaseHttpRequest
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
attributes |
protected com.sun.net.httpserver.HttpExchange |
exchange |
protected HttpHeaders |
httpHeaders |
protected InputStream |
inputStream |
protected String |
preProcessedPath |
protected UriInfo |
uriInfo |
asynchronousResponse, decodedFormParameters, dispatcher, formParameters, httpResponse, latch, suspended, suspendTimeout
Constructor and Description |
---|
HttpServerRequest(SynchronousDispatcher dispatcher,
HttpResponse httpResponse,
com.sun.net.httpserver.HttpExchange exchange) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String attribute)
Map of contextual data.
|
HttpHeaders |
getHttpHeaders() |
String |
getHttpMethod() |
InputStream |
getInputStream() |
String |
getPreprocessedPath()
Encoded preprocessed path with extension mappings and matrix parameters removed
|
UriInfo |
getUri() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setInputStream(InputStream stream)
If you are using a servlet container, this will *NOT* override the HttpServletRequest.getInputStream().
|
void |
setPreprocessedPath(String path) |
createAsynchronousResponse, getAsynchronousResponse, getDecodedFormParameters, getFormParameters, initialRequestThreadFinished, isInitial, isSuspended
protected com.sun.net.httpserver.HttpExchange exchange
protected HttpHeaders httpHeaders
protected UriInfo uriInfo
protected String preProcessedPath
protected InputStream inputStream
public HttpServerRequest(SynchronousDispatcher dispatcher, HttpResponse httpResponse, com.sun.net.httpserver.HttpExchange exchange)
public HttpHeaders getHttpHeaders()
public InputStream getInputStream()
public void setInputStream(InputStream stream)
HttpRequest
public UriInfo getUri()
public String getHttpMethod()
public String getPreprocessedPath()
HttpRequest
public void setPreprocessedPath(String path)
public Object getAttribute(String attribute)
HttpRequest
public void removeAttribute(String name)
Copyright © 2014. All Rights Reserved.