public interface HttpMessage extends HttpObject
HttpRequest
and HttpResponse
.HttpResponse
,
HttpRequest
,
HttpHeaders
Modifier and Type | Method and Description |
---|---|
HttpVersion |
getProtocolVersion()
Deprecated.
Use
protocolVersion() instead. |
HttpHeaders |
headers()
Returns the headers of this message.
|
HttpVersion |
protocolVersion()
Returns the protocol version of this
HttpMessage |
HttpMessage |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
getDecoderResult
decoderResult, setDecoderResult
@Deprecated HttpVersion getProtocolVersion()
protocolVersion()
instead.HttpVersion protocolVersion()
HttpMessage
HttpMessage setProtocolVersion(HttpVersion version)
HttpMessage
HttpHeaders headers()
Copyright © 2008–2024 The Netty Project. All rights reserved.