public class Http2StreamBridgeHandler extends ChannelDuplexHandler
Http2StreamFrameToHttpObjectCodec
it converts the outgoing messages into objects expected by
Http2StreamFrameToHttpObjectCodec
.ChannelHandler.Sharable
Constructor and Description |
---|
Http2StreamBridgeHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handlerAdded(ChannelHandlerContext ctx) |
void |
write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, read
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
public void handlerAdded(ChannelHandlerContext ctx)
handlerAdded
in interface ChannelHandler
handlerAdded
in class ChannelHandlerAdapter
public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
write
in interface ChannelOutboundHandler
write
in class ChannelDuplexHandler