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 ServerCookieDecoder
,
ClientCookieDecoder
,
ServerCookieEncoder
,
and ClientCookieEncoder
.
Modifier and Type | Method and Description |
---|---|
HttpMethod |
getMethod()
Returns the method of this request.
|
String |
getUri()
Returns the URI (or path) of this request.
|
void |
setMethod(HttpMethod method)
Sets the method of this request.
|
void |
setUri(String uri)
Sets the URI (or path) of this request.
|
addHeader, clearHeaders, containsHeader, getContent, getHeader, getHeaderNames, getHeaders, getHeaders, getProtocolVersion, headers, isChunked, removeHeader, setChunked, setContent, setHeader, setHeader, setProtocolVersion
HttpMethod getMethod()
void setMethod(HttpMethod method)
String getUri()
void setUri(String uri)
Copyright © 2008-2015 The Netty Project. All Rights Reserved.