软件包 | 描述 |
---|---|
io.netty.handler.codec.http2 |
用于发送和接收HTTP / 2帧的处理程序。
|
Modifier and Type | Class and Description |
---|---|
class |
DecoratingHttp2ConnectionDecoder
围绕另一个 Http2ConnectionDecoder 实例的装饰器。
|
class |
DefaultHttp2ConnectionDecoder
提供处理入站帧事件和委派给 Http2FrameListener 的默认实现此类将读取HTTP / 2帧并将事件委托给Http2FrameListener 此接口通过Http2LocalFlowController 实施入站流控制功能
|
Modifier and Type | Method and Description |
---|---|
Http2ConnectionDecoder |
Http2ConnectionHandler.decoder() |
protected Http2ConnectionDecoder |
AbstractHttp2ConnectionHandlerBuilder.decoder()
返回使用的 Http2ConnectionDecoder 。
|
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)
|
Constructor and Description |
---|
DecoratingHttp2ConnectionDecoder(Http2ConnectionDecoder delegate) |
Http2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings) |
HttpToHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings, boolean validateHeaders) |
Copyright © 2008–2018 The Netty Project. All rights reserved.