Class Http3ServerConnectionHandler

    • Constructor Detail

      • 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 - 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.
      • Http3ServerConnectionHandler

        public Http3ServerConnectionHandler​(ChannelHandler requestStreamHandler,
                                            @Nullable
                                            @Nullable ChannelHandler inboundControlStreamHandler,
                                            @Nullable
                                            @Nullable java.util.function.LongFunction<ChannelHandler> unknownInboundStreamHandlerFactory,
                                            @Nullable
                                            @Nullable Http3SettingsFrame localSettings,
                                            boolean disableQpackDynamicTable,
                                            @Nullable
                                            Http3Settings.NonStandardHttp3SettingsValidator nonStandardSettingsValidator,
                                            @Nullable
                                            @Nullable QpackSensitivityDetector sensitivityDetector,
                                            int maxUnknownFramePayloadLength)
        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.
        nonStandardSettingsValidator - the Http3Settings.NonStandardHttp3SettingsValidator to use when validating settings that are non-standard.
        sensitivityDetector - detector that marks sensitive headers for QPACK Never Indexed encoding, or null to use the historical default.
        maxUnknownFramePayloadLength - the maximum payload size of an unknown frame.