public class NettyHttpRequest extends BaseHttpRequest
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
attributes |
protected SynchronousDispatcher |
dispatcher |
protected ResteasyHttpHeaders |
httpHeaders |
protected String |
httpMethod |
protected NettyHttpResponse |
httpResponse |
protected InputStream |
inputStream |
decodedFormParameters, formParameters, uri
Constructor and Description |
---|
NettyHttpRequest(ResteasyHttpHeaders httpHeaders,
ResteasyUriInfo uri,
String httpMethod,
SynchronousDispatcher dispatcher,
NettyHttpResponse httpResponse,
boolean is100ContinueExpected) |
Modifier and Type | Method and Description |
---|---|
void |
forward(String path) |
ResteasyAsynchronousContext |
getAsyncContext() |
Object |
getAttribute(String attribute)
Map of contextual data.
|
Enumeration<String> |
getAttributeNames() |
HttpHeaders |
getHttpHeaders() |
String |
getHttpMethod() |
InputStream |
getInputStream() |
MultivaluedMap<String,String> |
getMutableHeaders() |
NettyHttpResponse |
getResponse() |
boolean |
is100ContinueExpected() |
boolean |
isKeepAlive() |
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().
|
boolean |
wasForwarded() |
getDecodedFormParameters, getFormParameters, getUri, isInitial, setRequestUri, setRequestUri
protected ResteasyHttpHeaders httpHeaders
protected SynchronousDispatcher dispatcher
protected String httpMethod
protected InputStream inputStream
protected NettyHttpResponse httpResponse
public NettyHttpRequest(ResteasyHttpHeaders httpHeaders, ResteasyUriInfo uri, String httpMethod, SynchronousDispatcher dispatcher, NettyHttpResponse httpResponse, boolean is100ContinueExpected)
public MultivaluedMap<String,String> getMutableHeaders()
public void setHttpMethod(String method)
public Enumeration<String> getAttributeNames()
public ResteasyAsynchronousContext getAsyncContext()
public Object getAttribute(String attribute)
HttpRequest
public void removeAttribute(String name)
public HttpHeaders getHttpHeaders()
public InputStream getInputStream()
public void setInputStream(InputStream stream)
HttpRequest
public String getHttpMethod()
public NettyHttpResponse getResponse()
public boolean isKeepAlive()
public boolean is100ContinueExpected()
public void forward(String path)
public boolean wasForwarded()
Copyright © 2014. All Rights Reserved.