软件包 | 描述 |
---|---|
io.netty.handler.codec.http |
编码器,解码器及其相关的HTTP消息类型。
|
io.netty.handler.codec.http2 |
用于发送和接收HTTP / 2帧的处理程序。
|
io.netty.handler.codec.spdy |
SPDY协议的编码器,解码器,会话处理程序及其相关的消息类型。
|
Modifier and Type | Interface and Description |
---|---|
interface |
FullHttpMessage
将 HttpMessage 和LastHttpContent 组合成一条消息。
|
interface |
FullHttpRequest
合并 HttpRequest 和FullHttpMessage ,所以请求是一个完整的 HTTP请求。
|
interface |
FullHttpResponse
|
interface |
HttpContent
用于HTTP分块传输编码的HTTP块。
|
interface |
HttpMessage
定义HTTP消息的接口,为 HttpRequest 和HttpResponse 提供公共属性。
|
interface |
HttpRequest
一个HTTP请求。
|
interface |
HttpResponse
一个HTTP响应。
|
interface |
LastHttpContent
最后 HttpContent 有尾部标题。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultFullHttpRequest
默认实现 FullHttpRequest 。
|
class |
DefaultFullHttpResponse
FullHttpResponse 的默认实现。
|
class |
DefaultHttpContent
默认的 HttpContent 实现。
|
class |
DefaultHttpMessage
默认的 HttpMessage 实现。
|
class |
DefaultHttpObject |
class |
DefaultHttpRequest
默认的 HttpRequest 实现。
|
class |
DefaultHttpResponse
默认的 HttpResponse 实现。
|
class |
DefaultLastHttpContent
默认的 LastHttpContent 实现。
|
Modifier and Type | Method and Description |
---|---|
protected void |
HttpServerUpgradeHandler.decode(ChannelHandlerContext ctx, HttpObject msg, java.util.List<java.lang.Object> out) |
protected void |
HttpContentDecoder.decode(ChannelHandlerContext ctx, HttpObject msg, java.util.List<java.lang.Object> out) |
protected void |
HttpClientUpgradeHandler.decode(ChannelHandlerContext ctx, HttpObject msg, java.util.List<java.lang.Object> out) |
protected void |
HttpContentEncoder.encode(ChannelHandlerContext ctx, HttpObject msg, java.util.List<java.lang.Object> out) |
protected boolean |
HttpObjectAggregator.isAggregated(HttpObject msg) |
protected boolean |
HttpObjectAggregator.isContentMessage(HttpObject msg) |
protected boolean |
HttpObjectAggregator.isStartMessage(HttpObject msg) |
Modifier and Type | Method and Description |
---|---|
protected void |
Http2StreamFrameToHttpObjectCodec.encode(ChannelHandlerContext ctx, HttpObject obj, java.util.List<java.lang.Object> out)
Encode from an
HttpObject to an
Http2StreamFrame .
|
Modifier and Type | Method and Description |
---|---|
protected void |
SpdyHttpEncoder.encode(ChannelHandlerContext ctx, HttpObject msg, java.util.List<java.lang.Object> out) |
Copyright © 2008–2018 The Netty Project. All rights reserved.