Class Http3ServerPushStreamManager


  • public final class Http3ServerPushStreamManager
    extends java.lang.Object
    A manager for push streams for a server. New push streams can be initiated using the various newPushStream methods. It is required to add the ChannelHandler returned from controlStreamListener() to the QuicChannel associated with this manager.
    • Constructor Detail

      • Http3ServerPushStreamManager

        public Http3ServerPushStreamManager​(QuicChannel channel)
        Creates a new instance.
        Parameters:
        channel - for which this manager is created.
      • Http3ServerPushStreamManager

        public Http3ServerPushStreamManager​(QuicChannel channel,
                                            int initialPushStreamsCountHint)
        Creates a new instance.
        Parameters:
        channel - for which this manager is created.
        initialPushStreamsCountHint - a hint for the number of push streams that may be created.