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:
ChannelHandler
,ChannelInboundHandler
public final class Http3ServerConnectionHandler extends Http3ConnectionHandler
Handler that handles HTTP3 for the server-side.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
-
Constructor Summary
Constructors Constructor Description Http3ServerConnectionHandler(ChannelHandler requestStreamHandler)
Create a new instance.Http3ServerConnectionHandler(ChannelHandler requestStreamHandler, @Nullable ChannelHandler inboundControlStreamHandler, @Nullable java.util.function.LongFunction<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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty.channel.ChannelHandler
handlerRemoved
-
-
-
-
Constructor Detail
-
Http3ServerConnectionHandler
public Http3ServerConnectionHandler(ChannelHandler requestStreamHandler)
Create a new instance.- Parameters:
requestStreamHandler
- theChannelHandler
that is used for each new request stream. This handler will receiveHttp3HeadersFrame
andHttp3DataFrame
s.
-
Http3ServerConnectionHandler
public Http3ServerConnectionHandler(ChannelHandler requestStreamHandler, @Nullable @Nullable ChannelHandler inboundControlStreamHandler, @Nullable @Nullable java.util.function.LongFunction<ChannelHandler> unknownInboundStreamHandlerFactory, @Nullable @Nullable Http3SettingsFrame localSettings, boolean disableQpackDynamicTable)
Create a new instance.- Parameters:
requestStreamHandler
- theChannelHandler
that is used for each new request stream. This handler will receiveHttp3HeadersFrame
andHttp3DataFrame
s.inboundControlStreamHandler
- theChannelHandler
which will be notified aboutHttp3RequestStreamFrame
s ornull
if the user is not interested in these.unknownInboundStreamHandlerFactory
- theLongFunction
that will provide a customChannelHandler
for unknown inbound stream types ornull
if no special handling should be done.localSettings
- the localHttp3SettingsFrame
that should be sent to the remote peer ornull
if the default settings should be used.disableQpackDynamicTable
- If QPACK dynamic table should be disabled.
-
-