Class Http3ServerConnectionHandler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

public final class Http3ServerConnectionHandler extends Http3ConnectionHandler
Handler that handles HTTP3 for the server-side.
  • Constructor Details

    • Http3ServerConnectionHandler

      public Http3ServerConnectionHandler(ChannelHandler requestStreamHandler)
      Create a new instance.
      Parameters:
      requestStreamHandler - the ChannelHandler that is used for each new request stream. This handler will receive Http3HeadersFrame and Http3DataFrames.
    • Http3ServerConnectionHandler

      public Http3ServerConnectionHandler(ChannelHandler requestStreamHandler, @Nullable @Nullable ChannelHandler inboundControlStreamHandler, @Nullable @Nullable LongFunction<ChannelHandler> unknownInboundStreamHandlerFactory, @Nullable @Nullable Http3SettingsFrame localSettings, boolean disableQpackDynamicTable)
      Create a new instance.
      Parameters:
      requestStreamHandler - the ChannelHandler that is used for each new request stream. This handler will receive Http3HeadersFrame and Http3DataFrames.
      inboundControlStreamHandler - the ChannelHandler which will be notified about Http3RequestStreamFrames or null if the user is not interested in these.
      unknownInboundStreamHandlerFactory - the LongFunction that will provide a custom ChannelHandler for unknown inbound stream types or null if no special handling should be done.
      localSettings - the local Http3SettingsFrame that should be sent to the remote peer or null if the default settings should be used.
      disableQpackDynamicTable - If QPACK dynamic table should be disabled.