- java.lang.Object
-
- io.netty5.handler.codec.http2.InboundHttpToHttp2Adapter
-
- All Implemented Interfaces:
ChannelHandler
@UnstableApi public class InboundHttpToHttp2Adapter extends Object implements ChannelHandler
Translates HTTP/1.x object reads into HTTP/2 frames.
-
-
Constructor Summary
Constructors Constructor Description InboundHttpToHttp2Adapter(Http2Connection connection, Http2FrameListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
channelRead(ChannelHandlerContext ctx, Object msg)
Invoked when the currentChannel
has read a message from the peer.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty5.channel.ChannelHandler
bind, channelActive, channelExceptionCaught, channelInactive, channelInboundEvent, channelReadComplete, channelRegistered, channelShutdown, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, handlerAdded, handlerRemoved, isSharable, pendingOutboundBytes, read, register, sendOutboundEvent, shutdown, write
-
-
-
-
Constructor Detail
-
InboundHttpToHttp2Adapter
public InboundHttpToHttp2Adapter(Http2Connection connection, Http2FrameListener listener)
-
-
Method Detail
-
channelRead
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception
Description copied from interface:ChannelHandler
Invoked when the currentChannel
has read a message from the peer.- Specified by:
channelRead
in interfaceChannelHandler
- Throws:
Exception
-
-