软件包 | 描述 |
---|---|
io.netty.handler.codec.http |
编码器,解码器及其相关的HTTP消息类型。
|
io.netty.handler.codec.http2 |
用于发送和接收HTTP / 2帧的处理程序。
|
io.netty.handler.codec.rtsp |
基于HTTP编解码器的
RTSP扩展。
|
Modifier and Type | Field and Description |
---|---|
static HttpVersion |
HttpVersion.HTTP_1_0
HTTP / 1.0
|
static HttpVersion |
HttpVersion.HTTP_1_1
HTTP / 1.1
|
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpMessage.getProtocolVersion()
已过时。
|
HttpVersion |
DefaultHttpMessage.getProtocolVersion()
已过时。
|
HttpVersion |
HttpMessage.protocolVersion()
返回此 HttpMessage 的协议版本
|
HttpVersion |
DefaultHttpMessage.protocolVersion() |
static HttpVersion |
HttpVersion.valueOf(java.lang.String text)
返回与指定的协议版本字符串匹配的现有或新的 HttpVersion 实例。
|
Constructor and Description |
---|
DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri) |
DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, boolean validateHeaders) |
DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content) |
DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content, boolean validateHeaders) |
DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content, HttpHeaders headers, HttpHeaders trailingHeader) |
DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status) |
DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders) |
DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders, boolean singleFieldHeaders) |
DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content) |
DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, boolean validateHeaders) |
DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, boolean validateHeaders, boolean singleFieldHeaders) |
DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, HttpHeaders headers, HttpHeaders trailingHeaders) |
DefaultHttpMessage(HttpVersion version)
创建一个新的实例。
|
DefaultHttpMessage(HttpVersion version, boolean validateHeaders, boolean singleFieldHeaders)
创建一个新的实例。
|
DefaultHttpMessage(HttpVersion version, HttpHeaders headers)
创建一个新的实例。
|
DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri)
创建一个新的实例。
|
DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, boolean validateHeaders)
创建一个新的实例。
|
DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, HttpHeaders headers)
创建一个新的实例。
|
DefaultHttpResponse(HttpVersion version, HttpResponseStatus status)
创建一个新的实例。
|
DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders)
创建一个新的实例。
|
DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders, boolean singleFieldHeaders)
创建一个新的实例。
|
DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, HttpHeaders headers)
创建一个新的实例。
|
Modifier and Type | Method and Description |
---|---|
static void |
HttpConversionUtil.addHttp2ToHttpHeaders(int streamId, Http2Headers inputHeaders, HttpHeaders outputHeaders, HttpVersion httpVersion, boolean isTrailer, boolean isRequest)
将HTTP / 2标头翻译并添加到HTTP / 1.x标头。
|
Modifier and Type | Field and Description |
---|---|
static HttpVersion |
RtspVersions.RTSP_1_0
RTSP / 1.0
|
Modifier and Type | Method and Description |
---|---|
static HttpVersion |
RtspVersions.valueOf(java.lang.String text)
Returns an existing or new
HttpVersion instance which matches to the specified RTSP version string.
|
Copyright © 2008–2018 The Netty Project. All rights reserved.