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 ClientCookieDecoder, ServerCookieDecoder,
ClientCookieEncoder, and @ServerCookieEncoder.
| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
method()
Returns the
HttpMethod of this HttpRequest. |
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)
|
String |
uri()
Returns the requested URI (or alternatively, path)
|
headers, protocolVersiondecoderResult, setDecoderResultHttpMethod method()
HttpMethod of this HttpRequest.HttpMethod of this HttpRequestHttpRequest setMethod(HttpMethod method)
HttpMethod of this HttpRequest.String uri()
HttpRequest setUri(String uri)
HttpRequest setProtocolVersion(HttpVersion version)
HttpMessageHttpMessagesetProtocolVersion in interface HttpMessageCopyright © 2008–2015 The Netty Project. All rights reserved.