-
- 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 aHttpResponse
andFullHttpMessage
. So it represent a complete http response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FullHttpResponse
setProtocolVersion(HttpVersion version)
Set the protocol version of thisHttpMessage
FullHttpResponse
setStatus(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:HttpMessage
Set the protocol version of thisHttpMessage
- Specified by:
setProtocolVersion
in interfaceHttpMessage
- Specified by:
setProtocolVersion
in interfaceHttpResponse
-
setStatus
FullHttpResponse setStatus(HttpResponseStatus status)
Description copied from interface:HttpResponse
Set the status of thisHttpResponse
.- Specified by:
setStatus
in interfaceHttpResponse
-
-