软件包 | 描述 |
---|---|
io.netty.handler.codec.http2 |
用于发送和接收HTTP / 2帧的处理程序。
|
Modifier and Type | Class and Description |
---|---|
class |
CompressorHttp2ConnectionEncoder
装饰HTTP2编码器,将根据每个流的
content-encoding 标头压缩数据帧。
|
class |
DecoratingHttp2ConnectionEncoder
围绕另一个 Http2ConnectionEncoder 实例的装饰器。
|
class |
DefaultHttp2ConnectionEncoder
默认实现 Http2ConnectionEncoder 。
|
class |
StreamBufferingEncoder
执行 Http2ConnectionEncoder ,将所有方法调用分派给另一个Http2ConnectionEncoder ,直到达到SETTINGS_MAX_CONCURRENT_STREAMS 。
|
Modifier and Type | Method and Description |
---|---|
Http2ConnectionEncoder |
Http2ConnectionHandler.encoder() |
protected Http2ConnectionEncoder |
AbstractHttp2ConnectionHandlerBuilder.encoder()
返回使用的 Http2ConnectionEncoder 。
|
Modifier and Type | Method and Description |
---|---|
protected HttpToHttp2ConnectionHandler |
HttpToHttp2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings) |
protected Http2MultiplexCodec |
Http2MultiplexCodecBuilder.build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings) |
protected Http2FrameCodec |
Http2FrameCodecBuilder.build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings) |
protected Http2ConnectionHandler |
Http2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings) |
protected abstract T |
AbstractHttp2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings)
实现此方法以创建新的 Http2ConnectionHandler 或其子类型实例。
|
HttpToHttp2ConnectionHandlerBuilder |
HttpToHttp2ConnectionHandlerBuilder.codec(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder) |
Http2ConnectionHandlerBuilder |
Http2ConnectionHandlerBuilder.codec(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder) |
protected B |
AbstractHttp2ConnectionHandlerBuilder.codec(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder)
|
Copyright © 2008–2018 The Netty Project. All rights reserved.