public interface HttpResponse extends HttpMessage
Unlike the Servlet API, Cookie
support is provided
separately via ServerCookieDecoder
,
ClientCookieDecoder
,
ServerCookieEncoder
,
and ClientCookieEncoder
.
Modifier and Type | Method and Description |
---|---|
HttpResponseStatus |
getStatus()
Deprecated.
Use
status() instead. |
HttpResponse |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
HttpResponse |
setStatus(HttpResponseStatus status)
Set the status of this
HttpResponse . |
HttpResponseStatus |
status()
Returns the status of this
HttpResponse . |
getProtocolVersion, headers, protocolVersion
getDecoderResult
decoderResult, setDecoderResult
@Deprecated HttpResponseStatus getStatus()
status()
instead.HttpResponseStatus status()
HttpResponse
.HttpResponseStatus
of this HttpResponse
HttpResponse setStatus(HttpResponseStatus status)
HttpResponse
.HttpResponse setProtocolVersion(HttpVersion version)
HttpMessage
HttpMessage
setProtocolVersion
in interface HttpMessage
Copyright © 2008–2024 The Netty Project. All rights reserved.