org.jboss.netty.handler.codec.http
接口 HttpResponse

所有超级接口:
HttpMessage
所有已知实现类:
DefaultHttpResponse

public interface HttpResponse
extends HttpMessage

An HTTP response.

Accessing Cookie

Unlike the Servlet API, Cookie support is provided separately via CookieEncoder and CookieDecoder.

另请参见:
HttpRequest, CookieEncoder, CookieDecoder

方法摘要
 HttpResponseStatus getStatus()
          Returns the status of this response.
 void setStatus(HttpResponseStatus status)
          Sets the status of this response.
 
从接口 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
 

方法详细信息

getStatus

HttpResponseStatus getStatus()
Returns the status of this response.


setStatus

void setStatus(HttpResponseStatus status)
Sets the status of this response.