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
HttpResponse . |
HttpResponse |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
HttpResponse |
setStatus(HttpResponseStatus status)
Set the status of this
HttpResponse . |
getProtocolVersion, headers
getDecoderResult, setDecoderResult
HttpResponseStatus getStatus()
HttpResponse
.HttpResponseStatus
of this HttpResponse
HttpResponse setStatus(HttpResponseStatus status)
HttpResponse
.HttpResponse setProtocolVersion(HttpVersion version)
HttpMessage
HttpMessage
setProtocolVersion
in interface HttpMessage
Copyright © 2008–2018 The Netty Project. All rights reserved.