public abstract class DefaultHttpMessage extends DefaultHttpObject implements HttpMessage
HttpMessage
implementation.限定符 | 构造器和说明 |
---|---|
protected |
DefaultHttpMessage(HttpVersion version)
Creates a new instance.
|
protected |
DefaultHttpMessage(HttpVersion version,
boolean validate) |
限定符和类型 | 方法和说明 |
---|---|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDecoderResult, setDecoderResult
protected DefaultHttpMessage(HttpVersion version)
protected DefaultHttpMessage(HttpVersion version, boolean validate)
public HttpHeaders headers()
HttpMessage
headers
在接口中 HttpMessage
public HttpVersion getProtocolVersion()
HttpMessage
HttpMessage
getProtocolVersion
在接口中 HttpMessage
public HttpMessage setProtocolVersion(HttpVersion version)
HttpMessage
HttpMessage
setProtocolVersion
在接口中 HttpMessage