Interface HttpRequest
-
- All Superinterfaces:
HttpMessage
- All Known Implementing Classes:
DefaultHttpRequest
public interface HttpRequest extends HttpMessage
An HTTP request.Accessing Query Parameters and Cookie
Unlike the Servlet API, a query string is constructed and decomposed by
QueryStringEncoder
andQueryStringDecoder
.Cookie
support is also provided separately viaServerCookieDecoder
,ClientCookieDecoder
,ServerCookieEncoder
, andClientCookieEncoder
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpMethod
getMethod()
Returns the method of this request.java.lang.String
getUri()
Returns the URI (or path) of this request.void
setMethod(HttpMethod method)
Sets the method of this request.void
setUri(java.lang.String uri)
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 Detail
-
getMethod
HttpMethod getMethod()
Returns the method of this request.
-
setMethod
void setMethod(HttpMethod method)
Sets the method of this request.
-
getUri
java.lang.String getUri()
Returns the URI (or path) of this request.
-
setUri
void setUri(java.lang.String uri)
Sets the URI (or path) of this request.
-
-