@UnstableApi public class InboundHttpToHttp2Adapter extends ChannelInboundHandlerAdapter
ChannelHandler.Sharable| Modifier and Type | Field and Description |
|---|---|
private Http2Connection |
connection |
private Http2FrameListener |
listener |
| Constructor and Description |
|---|
InboundHttpToHttp2Adapter(Http2Connection connection,
Http2FrameListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(ChannelHandlerContext ctx,
java.lang.Object msg)
Calls
ChannelHandlerContext.fireChannelRead(Object) to forward
to the next ChannelInboundHandler in the ChannelPipeline. |
private int |
getStreamId(HttpHeaders httpHeaders) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAdded, handlerRemovedprivate final Http2Connection connection
private final Http2FrameListener listener
public InboundHttpToHttp2Adapter(Http2Connection connection, Http2FrameListener listener)
private int getStreamId(HttpHeaders httpHeaders)
public void channelRead(ChannelHandlerContext ctx, java.lang.Object msg) throws java.lang.Exception
ChannelInboundHandlerAdapterChannelHandlerContext.fireChannelRead(Object) to forward
to the next ChannelInboundHandler in the ChannelPipeline.
Sub-classes may override this method to change behavior.channelRead in interface ChannelInboundHandlerchannelRead in class ChannelInboundHandlerAdapterjava.lang.Exception