-
- All Superinterfaces:
AutoCloseable,DecoderResultProvider,FullHttpMessage<FullHttpResponse>,HttpContent<FullHttpResponse>,HttpMessage,HttpObject,HttpResponse,LastHttpContent<FullHttpResponse>,Resource<FullHttpResponse>
- All Known Implementing Classes:
DefaultFullHttpResponse
public interface FullHttpResponse extends HttpResponse, FullHttpMessage<FullHttpResponse>
Combination of aHttpResponseandFullHttpMessage. So it represent a complete http response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FullHttpResponsesetProtocolVersion(HttpVersion version)Set the protocol version of thisHttpMessageFullHttpResponsesetStatus(HttpResponseStatus status)Set the status of thisHttpResponse.-
Methods inherited from interface io.netty5.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
-
Methods inherited from interface io.netty5.handler.codec.http.HttpContent
copy, payload
-
Methods inherited from interface io.netty5.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersion
-
Methods inherited from interface io.netty5.handler.codec.http.HttpResponse
status
-
Methods inherited from interface io.netty5.handler.codec.http.LastHttpContent
trailingHeaders
-
Methods inherited from interface io.netty5.util.Resource
close, isAccessible, send, touch
-
-
-
-
Method Detail
-
setProtocolVersion
FullHttpResponse setProtocolVersion(HttpVersion version)
Description copied from interface:HttpMessageSet the protocol version of thisHttpMessage- Specified by:
setProtocolVersionin interfaceHttpMessage- Specified by:
setProtocolVersionin interfaceHttpResponse
-
setStatus
FullHttpResponse setStatus(HttpResponseStatus status)
Description copied from interface:HttpResponseSet the status of thisHttpResponse.- Specified by:
setStatusin interfaceHttpResponse
-
-