软件包 | 描述 |
---|---|
io.netty.handler.codec.http2 |
用于发送和接收HTTP / 2帧的处理程序。
|
Modifier and Type | Interface and Description |
---|---|
interface |
Http2ConnectionEncoder
处理出站HTTP / 2流量的处理程序。
|
Modifier and Type | Class and Description |
---|---|
class |
CompressorHttp2ConnectionEncoder
装饰HTTP2编码器,将根据每个流的
content-encoding 标头压缩数据帧。
|
class |
DecoratingHttp2ConnectionEncoder
围绕另一个 Http2ConnectionEncoder 实例的装饰器。
|
class |
DecoratingHttp2FrameWriter
围绕另一个 Http2FrameWriter 实例的装饰器。
|
class |
DefaultHttp2ConnectionEncoder
默认实现 Http2ConnectionEncoder 。
|
class |
DefaultHttp2FrameWriter
支持HTTP / 2规范定义的所有帧类型的 Http2FrameWriter 。
|
class |
Http2OutboundFrameLogger
围绕 Http2FrameWriter 的装饰器在调用作者之前记录所有出站帧。
|
class |
StreamBufferingEncoder
执行 Http2ConnectionEncoder ,将所有方法调用分派给另一个Http2ConnectionEncoder ,直到达到SETTINGS_MAX_CONCURRENT_STREAMS 。
|
Modifier and Type | Method and Description |
---|---|
protected Http2FrameWriter |
Http2ConnectionHandler.frameWriter() |
Http2FrameWriter |
Http2ConnectionEncoder.frameWriter()
提供对底层框架编写器对象的直接访问。
|
Http2FrameWriter |
DefaultHttp2ConnectionEncoder.frameWriter() |
Http2FrameWriter |
DecoratingHttp2ConnectionEncoder.frameWriter() |
Modifier and Type | Method and Description |
---|---|
Http2LocalFlowController |
Http2LocalFlowController.frameWriter(Http2FrameWriter frameWriter)
将写入器设置为用于发送
WINDOW_UPDATE 帧。
|
DefaultHttp2LocalFlowController |
DefaultHttp2LocalFlowController.frameWriter(Http2FrameWriter frameWriter) |
Constructor and Description |
---|
DecoratingHttp2FrameWriter(Http2FrameWriter delegate) |
DefaultHttp2ConnectionEncoder(Http2Connection connection, Http2FrameWriter frameWriter) |
Http2OutboundFrameLogger(Http2FrameWriter writer, Http2FrameLogger logger) |
Copyright © 2008–2018 The Netty Project. All rights reserved.