public interface HttpResponse extends HttpMessage
Unlike the Servlet API, Cookie
support is provided
separately via ServerCookieDecoder
,
ClientCookieDecoder
,
ServerCookieEncoder
,
and ClientCookieEncoder
.
限定符和类型 | 方法和说明 |
---|---|
HttpResponseStatus |
getStatus()
已过时。
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
在接口中 HttpMessage