软件包 | 描述 |
---|---|
io.netty.handler.codec.http2 |
用于发送和接收HTTP / 2帧的处理程序。
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingDecompressorFrameListener
一个HTTP2帧侦听器,它将根据每个流的
content-encoding 标题解压缩数据帧。
|
class |
Http2EventAdapter
此类将 Http2Connection.Listener 和Http2FrameListener 带到一起以提供NOOP实现,以便继承类可以选择性地选择要覆盖的方法。
|
class |
Http2FrameAdapter
为 Http2FrameListener 的所有方法提供no-op实现的便利类。
|
class |
Http2FrameListenerDecorator
围绕 Http2FrameListener 提供装饰器并委托所有方法调用
|
class |
InboundHttp2ToHttpAdapter
|
Modifier and Type | Field and Description |
---|---|
protected Http2FrameListener |
Http2FrameListenerDecorator.listener |
Modifier and Type | Method and Description |
---|---|
Http2FrameListener |
Http2ConnectionDecoder.frameListener()
获取 Http2FrameListener ,当帧被解码时将被通知。
|
Http2FrameListener |
DefaultHttp2ConnectionDecoder.frameListener() |
Http2FrameListener |
DecoratingHttp2ConnectionDecoder.frameListener() |
protected Http2FrameListener |
AbstractHttp2ConnectionHandlerBuilder.frameListener()
返回入站帧的侦听器。
|
Modifier and Type | Method and Description |
---|---|
HttpToHttp2ConnectionHandlerBuilder |
HttpToHttp2ConnectionHandlerBuilder.frameListener(Http2FrameListener frameListener) |
Http2ConnectionHandlerBuilder |
Http2ConnectionHandlerBuilder.frameListener(Http2FrameListener frameListener) |
void |
Http2ConnectionDecoder.frameListener(Http2FrameListener listener)
设置 Http2FrameListener 将在帧解码时通知。
|
void |
DefaultHttp2ConnectionDecoder.frameListener(Http2FrameListener listener) |
void |
DecoratingHttp2ConnectionDecoder.frameListener(Http2FrameListener listener) |
protected B |
AbstractHttp2ConnectionHandlerBuilder.frameListener(Http2FrameListener frameListener)
设置入站帧的侦听器。
|
void |
Http2InboundFrameLogger.readFrame(ChannelHandlerContext ctx, ByteBuf input, Http2FrameListener listener) |
void |
Http2FrameReader.readFrame(ChannelHandlerContext ctx, ByteBuf input, Http2FrameListener listener)
尝试从输入缓冲区读取下一帧。
|
void |
DefaultHttp2FrameReader.readFrame(ChannelHandlerContext ctx, ByteBuf input, Http2FrameListener listener) |
Constructor and Description |
---|
DelegatingDecompressorFrameListener(Http2Connection connection, Http2FrameListener listener) |
DelegatingDecompressorFrameListener(Http2Connection connection, Http2FrameListener listener, boolean strict) |
Http2FrameListenerDecorator(Http2FrameListener listener) |
InboundHttpToHttp2Adapter(Http2Connection connection, Http2FrameListener listener) |
Copyright © 2008–2018 The Netty Project. All rights reserved.