|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpRequest
An HTTP request.
Unlike the Servlet API, a query string is constructed and decomposed by
QueryStringEncoder
and QueryStringDecoder
. Cookie
support is also provided separately via CookieEncoder
and
CookieDecoder
.
HttpResponse
,
CookieEncoder
,
CookieDecoder
Method Summary | |
---|---|
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. |
Methods inherited from interface org.jboss.netty.handler.codec.http.HttpMessage |
---|
addHeader, clearHeaders, containsHeader, getContent, getContentLength, getContentLength, getHeader, getHeaderNames, getHeaders, getHeaders, getProtocolVersion, isChunked, isKeepAlive, removeHeader, setChunked, setContent, setHeader, setHeader, setProtocolVersion |
Method Detail |
---|
HttpMethod getMethod()
void setMethod(HttpMethod method)
String getUri()
void setUri(String uri)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |