public interface HttpMessage extends HttpObject
HttpRequest
and HttpResponse
.HttpResponse
,
HttpRequest
,
HttpHeaders
限定符和类型 | 方法和说明 |
---|---|
HttpVersion |
getProtocolVersion()
Returns the protocol version of this
HttpMessage |
HttpHeaders |
headers()
Returns the headers of this message.
|
HttpMessage |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
getDecoderResult, setDecoderResult
HttpVersion getProtocolVersion()
HttpMessage
HttpMessage setProtocolVersion(HttpVersion version)
HttpMessage
HttpHeaders headers()