public interface HttpResponse extends HttpMessage
Unlike the Servlet API, Cookie
support is provided
separately via ServerCookieDecoder
,
ClientCookieDecoder
,
ServerCookieEncoder
,
and @io.netty.handler.codec.http.cookie.ClientCookieEncoder
.
Modifier and Type | Method and Description |
---|---|
HttpResponseStatus |
getStatus()
Returns the status of this response.
|
void |
setStatus(HttpResponseStatus status)
Sets the status of this response.
|
getContent, getProtocolVersion, headers, isChunked, setChunked, setContent, setProtocolVersion
HttpResponseStatus getStatus()
void setStatus(HttpResponseStatus status)
Copyright © 2008-2016 The Netty Project. All Rights Reserved.