程序包 | 说明 |
---|---|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.rtsp |
An RTSP
extension based on the HTTP codec.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
限定符和类型 | 字段和说明 |
---|---|
static HttpVersion |
HttpVersion.HTTP_1_0
HTTP/1.0
|
static HttpVersion |
HttpVersion.HTTP_1_1
HTTP/1.1
|
限定符和类型 | 方法和说明 |
---|---|
HttpVersion |
HttpMessage.getProtocolVersion()
Returns the protocol version of this
HttpMessage |
HttpVersion |
DefaultHttpMessage.getProtocolVersion() |
static HttpVersion |
HttpVersion.valueOf(java.lang.String text)
Returns an existing or new
HttpVersion instance which matches to
the specified protocol version string. |
限定符和类型 | 方法和说明 |
---|---|
int |
HttpVersion.compareTo(HttpVersion o) |
HttpResponse |
HttpResponse.setProtocolVersion(HttpVersion version) |
HttpRequest |
HttpRequest.setProtocolVersion(HttpVersion version) |
HttpMessage |
HttpMessage.setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
FullHttpResponse |
FullHttpResponse.setProtocolVersion(HttpVersion version) |
FullHttpRequest |
FullHttpRequest.setProtocolVersion(HttpVersion version) |
HttpResponse |
DefaultHttpResponse.setProtocolVersion(HttpVersion version) |
HttpRequest |
DefaultHttpRequest.setProtocolVersion(HttpVersion version) |
HttpMessage |
DefaultHttpMessage.setProtocolVersion(HttpVersion version) |
FullHttpResponse |
DefaultFullHttpResponse.setProtocolVersion(HttpVersion version) |
FullHttpRequest |
DefaultFullHttpRequest.setProtocolVersion(HttpVersion version) |
构造器和说明 |
---|
DefaultFullHttpRequest(HttpVersion httpVersion,
HttpMethod method,
java.lang.String uri) |
DefaultFullHttpRequest(HttpVersion httpVersion,
HttpMethod method,
java.lang.String uri,
ByteBuf content) |
DefaultFullHttpRequest(HttpVersion httpVersion,
HttpMethod method,
java.lang.String uri,
ByteBuf content,
boolean validateHeaders) |
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status) |
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content) |
DefaultFullHttpResponse(HttpVersion version,
HttpResponseStatus status,
ByteBuf content,
boolean validateHeaders) |
DefaultHttpMessage(HttpVersion version)
Creates a new instance.
|
DefaultHttpMessage(HttpVersion version,
boolean validate) |
DefaultHttpRequest(HttpVersion httpVersion,
HttpMethod method,
java.lang.String uri)
Creates a new instance.
|
DefaultHttpRequest(HttpVersion httpVersion,
HttpMethod method,
java.lang.String uri,
boolean validateHeaders)
Creates a new instance.
|
DefaultHttpResponse(HttpVersion version,
HttpResponseStatus status)
Creates a new instance.
|
DefaultHttpResponse(HttpVersion version,
HttpResponseStatus status,
boolean validateHeaders)
Creates a new instance.
|
限定符和类型 | 字段和说明 |
---|---|
static HttpVersion |
RtspVersions.RTSP_1_0
RTSP/1.0
|
限定符和类型 | 方法和说明 |
---|---|
static HttpVersion |
RtspVersions.valueOf(java.lang.String text)
Returns an existing or new
HttpVersion instance which matches to
the specified RTSP version string. |
限定符和类型 | 方法和说明 |
---|---|
static HttpVersion |
SpdyHeaders.getVersion(int spdyVersion,
SpdyHeadersFrame frame)
Returns the
HttpVersion represented by the HTTP version header. |
限定符和类型 | 方法和说明 |
---|---|
static void |
SpdyHeaders.setVersion(int spdyVersion,
SpdyHeadersFrame frame,
HttpVersion httpVersion)
Sets the HTTP version header.
|