
public interface HttpResponse extends HttpMessage
Unlike the Servlet API, Cookie support is provided separately via
CookieEncoder and CookieDecoder.
HttpRequest,
CookieEncoder,
CookieDecoder| Modifier and Type | Method and Description |
|---|---|
HttpResponseStatus |
getStatus()
Returns the status of this response.
|
void |
setStatus(HttpResponseStatus status)
Sets the status of this response.
|
addHeader, clearHeaders, containsHeader, getContent, getContentLength, getContentLength, getHeader, getHeaderNames, getHeaders, getHeaders, getProtocolVersion, isChunked, isKeepAlive, removeHeader, setChunked, setContent, setHeader, setHeader, setProtocolVersionHttpResponseStatus getStatus()
void setStatus(HttpResponseStatus status)
Copyright © 2008-2013 The Netty Project. All Rights Reserved.