public interface HttpRequest extends HttpMessage
Unlike the Servlet API, a query string is constructed and decomposed by
QueryStringEncoder and QueryStringDecoder. Cookie
support is also provided separately via CookieDecoder, ClientCookieEncoder,
and @ServerCookieEncoder.
| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
getMethod()
Returns the
HttpMethod of this HttpRequest. |
String |
getUri()
Returns the requested URI (or alternatively, path)
|
HttpRequest |
setMethod(HttpMethod method)
Set the
HttpMethod of this HttpRequest. |
HttpRequest |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
HttpRequest |
setUri(String uri)
Set the requested URI (or alternatively, path)
|
getProtocolVersion, headersgetDecoderResult, setDecoderResultHttpMethod getMethod()
HttpMethod of this HttpRequest.HttpMethod of this HttpRequestHttpRequest setMethod(HttpMethod method)
HttpMethod of this HttpRequest.String getUri()
HttpRequest setUri(String uri)
HttpRequest setProtocolVersion(HttpVersion version)
HttpMessageHttpMessagesetProtocolVersion in interface HttpMessageCopyright © 2008–2014 The Netty Project. All rights reserved.