|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
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
方法摘要 | |
---|---|
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. |
从接口 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 |
方法详细信息 |
---|
HttpMethod getMethod()
void setMethod(HttpMethod method)
java.lang.String getUri()
void setUri(java.lang.String uri)
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |