Package io.netty.handler.codec.http3
Class Http3RequestStreamInitializer
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelInitializer<io.netty.handler.codec.quic.QuicStreamChannel>
-
- io.netty.handler.codec.http3.Http3RequestStreamInitializer
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public abstract class Http3RequestStreamInitializer extends io.netty.channel.ChannelInitializer<io.netty.handler.codec.quic.QuicStreamChannel>Abstract base class that users can extend to init HTTP/3 request-streams. This initializer will automatically add HTTP/3 codecs etc to theChannelPipelineas well.
-
-
Constructor Summary
Constructors Constructor Description Http3RequestStreamInitializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidinitChannel(io.netty.handler.codec.quic.QuicStreamChannel ch)protected abstract voidinitRequestStream(io.netty.handler.codec.quic.QuicStreamChannel ch)Init theQuicStreamChannelto handleHttp3RequestStreamFrames.-
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
-
-
-
-
Method Detail
-
initChannel
protected final void initChannel(io.netty.handler.codec.quic.QuicStreamChannel ch)
- Specified by:
initChannelin classio.netty.channel.ChannelInitializer<io.netty.handler.codec.quic.QuicStreamChannel>
-
initRequestStream
protected abstract void initRequestStream(io.netty.handler.codec.quic.QuicStreamChannel ch)
Init theQuicStreamChannelto handleHttp3RequestStreamFrames. At the point of calling this method it is already valid to writeHttp3RequestStreamFrames as the codec is already in the pipeline.- Parameters:
ch- the {QuicStreamChannel} for the request stream.
-
-