Package | Description |
---|---|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHttp2ConnectionHandlerBuilder<T extends Http2ConnectionHandler,B extends AbstractHttp2ConnectionHandlerBuilder<T,B>>
Abstract base class which defines commonly used features required to build
Http2ConnectionHandler instances. |
Modifier and Type | Class and Description |
---|---|
private static class |
Http2FrameCodec.InternalHttp2ConnectionHandler |
class |
HttpToHttp2ConnectionHandler
Translates HTTP/1.x object writes into HTTP/2 frames.
|
Modifier and Type | Field and Description |
---|---|
private Http2ConnectionHandler |
Http2ClientUpgradeCodec.connectionHandler |
private Http2ConnectionHandler |
Http2ServerUpgradeCodec.connectionHandler |
private Http2ConnectionHandler |
Http2FrameCodec.http2Handler |
Modifier and Type | Method and Description |
---|---|
Http2ConnectionHandler |
Http2ConnectionHandlerBuilder.build() |
protected Http2ConnectionHandler |
Http2ConnectionHandlerBuilder.build(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings) |
(package private) Http2ConnectionHandler |
Http2FrameCodec.connectionHandler() |
Constructor and Description |
---|
Http2ClientUpgradeCodec(Http2ConnectionHandler connectionHandler)
Creates the codec using a default name for the connection handler when adding to the
pipeline.
|
Http2ClientUpgradeCodec(java.lang.String handlerName,
Http2ConnectionHandler connectionHandler)
Creates the codec providing an upgrade to the given handler for HTTP/2.
|
Http2ServerUpgradeCodec(Http2ConnectionHandler connectionHandler)
Creates the codec using a default name for the connection handler when adding to the
pipeline.
|
Http2ServerUpgradeCodec(java.lang.String handlerName,
Http2ConnectionHandler connectionHandler)
Creates the codec providing an upgrade to the given handler for HTTP/2.
|
Http2ServerUpgradeCodec(java.lang.String handlerName,
Http2ConnectionHandler connectionHandler,
ChannelHandler upgradeToHandler) |