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
.
限定符和类型 | 方法和说明 |
---|---|
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)