public interface HttpMessage extends HttpObject
HttpRequest
and HttpResponse
.HttpResponse
,
HttpRequest
,
HttpHeaders
限定符和类型 | 方法和说明 |
---|---|
HttpVersion |
getProtocolVersion()
已过时。
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()