public class NettyHttpRequest extends Object implements HttpRequest
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
attributes |
protected MultivaluedMap<String,String> |
decodedFormParameters |
protected SynchronousDispatcher |
dispatcher |
protected MultivaluedMap<String,String> |
formParameters |
protected ResteasyHttpHeaders |
httpHeaders |
protected String |
httpMethod |
protected InputStream |
inputStream |
protected NettyHttpResponse |
response |
protected ResteasyUriInfo |
uriInfo |
| Constructor and Description |
|---|
NettyHttpRequest(io.netty.channel.ChannelHandlerContext ctx,
ResteasyHttpHeaders httpHeaders,
ResteasyUriInfo uri,
String httpMethod,
SynchronousDispatcher dispatcher,
NettyHttpResponse response,
boolean is100ContinueExpected) |
protected ResteasyHttpHeaders httpHeaders
protected SynchronousDispatcher dispatcher
protected ResteasyUriInfo uriInfo
protected String httpMethod
protected MultivaluedMap<String,String> formParameters
protected MultivaluedMap<String,String> decodedFormParameters
protected InputStream inputStream
protected NettyHttpResponse response
public NettyHttpRequest(io.netty.channel.ChannelHandlerContext ctx,
ResteasyHttpHeaders httpHeaders,
ResteasyUriInfo uri,
String httpMethod,
SynchronousDispatcher dispatcher,
NettyHttpResponse response,
boolean is100ContinueExpected)
public MultivaluedMap<String,String> getMutableHeaders()
getMutableHeaders in interface HttpRequestpublic void setHttpMethod(String method)
setHttpMethod in interface HttpRequestpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface HttpRequestpublic ResteasyAsynchronousContext getAsyncContext()
getAsyncContext in interface HttpRequestpublic boolean isFlushed()
public MultivaluedMap<String,String> getFormParameters()
HttpRequestgetFormParameters in interface HttpRequestpublic MultivaluedMap<String,String> getDecodedFormParameters()
getDecodedFormParameters in interface HttpRequestpublic Object getAttribute(String attribute)
HttpRequestgetAttribute in interface HttpRequestpublic void setAttribute(String name, Object value)
setAttribute in interface HttpRequestpublic void removeAttribute(String name)
removeAttribute in interface HttpRequestpublic HttpHeaders getHttpHeaders()
getHttpHeaders in interface HttpRequestpublic InputStream getInputStream()
getInputStream in interface HttpRequestpublic void setInputStream(InputStream stream)
HttpRequestsetInputStream in interface HttpRequestpublic ResteasyUriInfo getUri()
getUri in interface HttpRequestpublic String getHttpMethod()
getHttpMethod in interface HttpRequestpublic void setRequestUri(URI requestUri) throws IllegalStateException
setRequestUri in interface HttpRequestIllegalStateExceptionpublic void setRequestUri(URI baseUri, URI requestUri) throws IllegalStateException
setRequestUri in interface HttpRequestIllegalStateExceptionpublic boolean isInitial()
isInitial in interface HttpRequestpublic NettyHttpResponse getResponse()
public boolean isKeepAlive()
public boolean is100ContinueExpected()
public void forward(String path)
forward in interface HttpRequestpublic boolean wasForwarded()
wasForwarded in interface HttpRequestCopyright © 2016. All rights reserved.