Interface HttpRequest
- All Superinterfaces:
HttpMessage
- All Known Implementing Classes:
DefaultHttpRequest
An HTTP request.
Accessing Query Parameters and Cookie
Unlike the Servlet API, a query string is constructed and decomposed by
QueryStringEncoder
and QueryStringDecoder
.
Cookie
support is also provided
separately via ServerCookieDecoder
,
ClientCookieDecoder
,
ServerCookieEncoder
,
and ClientCookieEncoder
.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the method of this request.getUri()
Returns the URI (or path) of this request.void
setMethod
(HttpMethod method) Sets the method of this request.void
Sets the URI (or path) of this request.Methods inherited from interface org.jboss.netty.handler.codec.http.HttpMessage
getContent, getProtocolVersion, headers, isChunked, setChunked, setContent, setProtocolVersion
-
Method Details
-
getMethod
HttpMethod getMethod()Returns the method of this request. -
setMethod
Sets the method of this request. -
getUri
String getUri()Returns the URI (or path) of this request. -
setUri
Sets the URI (or path) of this request.
-