@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, write
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exceptionCaught, handlerRemoved
private 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
ChannelHandlerAdapter
handlerAdded
in interface ChannelHandler
handlerAdded
in class ChannelHandlerAdapter
java.lang.Exception