Interface HttpResponse
-
- All Superinterfaces:
HttpMessage
- All Known Implementing Classes:
DefaultHttpResponse
public interface HttpResponse extends HttpMessage
An HTTP response.Accessing Cookies
Unlike the Servlet API,
Cookie
support is provided separately viaServerCookieDecoder
,ClientCookieDecoder
,ServerCookieEncoder
, and {@link @io.netty.handler.codec.http.cookie.ClientCookieEncoder}.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpResponseStatus
getStatus()
Returns the status of this response.void
setStatus(HttpResponseStatus status)
Sets the status of this response.-
Methods inherited from interface org.jboss.netty.handler.codec.http.HttpMessage
getContent, getProtocolVersion, headers, isChunked, setChunked, setContent, setProtocolVersion
-
-
-
-
Method Detail
-
getStatus
HttpResponseStatus getStatus()
Returns the status of this response.
-
setStatus
void setStatus(HttpResponseStatus status)
Sets the status of this response.
-
-