@UnstableApi public final class Http2Codec extends ChannelDuplexHandler
Http2FrameCodec and Http2MultiplexCodec to the pipeline before
removing itself.ChannelHandler.Sharable| Modifier and Type | Field and Description |
|---|---|
private Http2FrameCodec |
frameCodec |
private Http2MultiplexCodec |
multiplexCodec |
| Constructor and Description |
|---|
Http2Codec(boolean server,
Http2StreamChannelBootstrap bootstrap,
Http2FrameWriter frameWriter,
Http2FrameLogger frameLogger,
Http2Settings initialSettings) |
| Modifier and Type | Method and Description |
|---|---|
(package private) Http2FrameCodec |
frameCodec() |
void |
handlerAdded(ChannelHandlerContext ctx)
Do nothing by default, sub-classes may override this method.
|
bind, close, connect, deregister, disconnect, flush, read, writechannelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexceptionCaught, handlerRemovedprivate final Http2FrameCodec frameCodec
private final Http2MultiplexCodec multiplexCodec
Http2Codec(boolean server,
Http2StreamChannelBootstrap bootstrap,
Http2FrameWriter frameWriter,
Http2FrameLogger frameLogger,
Http2Settings initialSettings)
Http2FrameCodec frameCodec()
public void handlerAdded(ChannelHandlerContext ctx) throws java.lang.Exception
ChannelHandlerAdapterhandlerAdded in interface ChannelHandlerhandlerAdded in class ChannelHandlerAdapterjava.lang.Exception