Package io.netty.handler.codec.http
Interface HttpMessage
- All Superinterfaces:
DecoderResultProvider
,HttpObject
- All Known Subinterfaces:
FullHttpMessage
,FullHttpRequest
,FullHttpResponse
,HttpRequest
,HttpResponse
- All Known Implementing Classes:
DefaultFullHttpRequest
,DefaultFullHttpResponse
,DefaultHttpMessage
,DefaultHttpRequest
,DefaultHttpResponse
,HttpObjectAggregator.AggregatedFullHttpMessage
,HttpObjectAggregator.AggregatedFullHttpRequest
,HttpObjectAggregator.AggregatedFullHttpResponse
,HttpPostRequestEncoder.WrappedFullHttpRequest
,HttpPostRequestEncoder.WrappedHttpRequest
An interface that defines an HTTP message, providing common properties for
HttpRequest
and HttpResponse
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.headers()
Returns the headers of this message.Returns the protocol version of thisHttpMessage
setProtocolVersion
(HttpVersion version) Set the protocol version of thisHttpMessage
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
Methods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResult
-
Method Details
-
getProtocolVersion
Deprecated.UseprotocolVersion()
instead. -
protocolVersion
HttpVersion protocolVersion()Returns the protocol version of thisHttpMessage
-
setProtocolVersion
Set the protocol version of thisHttpMessage
-
headers
HttpHeaders headers()Returns the headers of this message.
-
protocolVersion()
instead.