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 CookieEncoder
and
CookieDecoder
.
HttpResponse
,
CookieEncoder
,
CookieDecoder
Modifier and Type | Method and Description |
---|---|
HttpMethod |
getMethod()
Returns the method of this request.
|
String |
getUri()
Returns the URI (or path) of this request.
|
addHeader, clearHeaders, containsHeader, getContent, getContentLength, getContentLength, getHeader, getHeaderNames, getHeaders, getProtocolVersion, isChunked, isKeepAlive, removeHeader, setContent, setHeader, setHeader
HttpMethod getMethod()
String getUri()
Copyright © 2008-2012 JBoss, by Red Hat. All Rights Reserved.