Package io.netty.handler.codec.http3
Class Http3ServerConnectionHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.http3.Http3ConnectionHandler
-
- io.netty.handler.codec.http3.Http3ServerConnectionHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public final class Http3ServerConnectionHandler extends Http3ConnectionHandler
Handler that handles HTTP3 for the server-side.
-
-
Constructor Summary
Constructors Constructor Description Http3ServerConnectionHandler(io.netty.channel.ChannelHandler requestStreamHandler)Create a new instance.Http3ServerConnectionHandler(io.netty.channel.ChannelHandler requestStreamHandler, @Nullable io.netty.channel.ChannelHandler inboundControlStreamHandler, @Nullable LongFunction<io.netty.channel.ChannelHandler> unknownInboundStreamHandlerFactory, @Nullable Http3SettingsFrame localSettings, boolean disableQpackDynamicTable)Create a new instance.
-
Method Summary
-
Methods inherited from class io.netty.handler.codec.http3.Http3ConnectionHandler
channelActive, channelRead, handlerAdded, isGoAwayReceived, isSharable
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerRemoved
-
-
-
-
Constructor Detail
-
Http3ServerConnectionHandler
public Http3ServerConnectionHandler(io.netty.channel.ChannelHandler requestStreamHandler)
Create a new instance.- Parameters:
requestStreamHandler- theChannelHandlerthat is used for each new request stream. This handler will receiveHttp3HeadersFrameandHttp3DataFrames.
-
Http3ServerConnectionHandler
public Http3ServerConnectionHandler(io.netty.channel.ChannelHandler requestStreamHandler, @Nullable @Nullable io.netty.channel.ChannelHandler inboundControlStreamHandler, @Nullable @Nullable LongFunction<io.netty.channel.ChannelHandler> unknownInboundStreamHandlerFactory, @Nullable @Nullable Http3SettingsFrame localSettings, boolean disableQpackDynamicTable)Create a new instance.- Parameters:
requestStreamHandler- theChannelHandlerthat is used for each new request stream. This handler will receiveHttp3HeadersFrameandHttp3DataFrames.inboundControlStreamHandler- theChannelHandlerwhich will be notified aboutHttp3RequestStreamFrames ornullif the user is not interested in these.unknownInboundStreamHandlerFactory- theLongFunctionthat will provide a customChannelHandlerfor unknown inbound stream types ornullif no special handling should be done.localSettings- the localHttp3SettingsFramethat should be sent to the remote peer ornullif the default settings should be used.disableQpackDynamicTable- If QPACK dynamic table should be disabled.
-
-