public class HttpServerRequest extends BaseHttpRequest
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
attributes |
protected SynchronousDispatcher |
dispatcher |
protected com.sun.net.httpserver.HttpExchange |
exchange |
protected ResteasyHttpHeaders |
httpHeaders |
protected String |
httpMethod |
protected HttpResponse |
httpResponse |
protected String |
preProcessedPath |
decodedFormParameters, formParameters, uri| Constructor and Description |
|---|
HttpServerRequest(SynchronousDispatcher dispatcher,
HttpResponse httpResponse,
com.sun.net.httpserver.HttpExchange exchange) |
| Modifier and Type | Method and Description |
|---|---|
void |
forward(String path) |
ResteasyAsynchronousContext |
getAsyncContext() |
Object |
getAttribute(String attribute) |
Enumeration<String> |
getAttributeNames() |
javax.ws.rs.core.HttpHeaders |
getHttpHeaders() |
String |
getHttpMethod() |
InputStream |
getInputStream() |
javax.ws.rs.core.MultivaluedMap<String,String> |
getMutableHeaders() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setHttpMethod(String method) |
void |
setInputStream(InputStream stream) |
boolean |
wasForwarded() |
getDecodedFormParameters, getFormParameters, getUri, isInitial, setRequestUri, setRequestUriprotected SynchronousDispatcher dispatcher
protected HttpResponse httpResponse
protected com.sun.net.httpserver.HttpExchange exchange
protected ResteasyHttpHeaders httpHeaders
protected String preProcessedPath
protected String httpMethod
public HttpServerRequest(SynchronousDispatcher dispatcher, HttpResponse httpResponse, com.sun.net.httpserver.HttpExchange exchange)
public javax.ws.rs.core.HttpHeaders getHttpHeaders()
public InputStream getInputStream()
public void setInputStream(InputStream stream)
public String getHttpMethod()
public void setHttpMethod(String method)
public void removeAttribute(String name)
public Enumeration<String> getAttributeNames()
public ResteasyAsynchronousContext getAsyncContext()
public void forward(String path)
public boolean wasForwarded()
Copyright © 2021 JBoss by Red Hat. All rights reserved.