public interface HttpMessage extends HttpObject
HttpRequest
and HttpResponse
.HttpResponse
,
HttpRequest
,
HttpHeaders
Modifier and Type | Method and Description |
---|---|
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()
Copyright © 2008–2018 The Netty Project. All rights reserved.