Class DefaultHttp2Connection

    • Constructor Detail

      • DefaultHttp2Connection

        public DefaultHttp2Connection​(boolean server)
        Creates a new connection with the given settings.
        Parameters:
        server - whether or not this end-point is the server-side of the HTTP/2 connection.
      • DefaultHttp2Connection

        public DefaultHttp2Connection​(boolean server,
                                      int maxReservedStreams)
        Creates a new connection with the given settings.
        Parameters:
        server - whether or not this end-point is the server-side of the HTTP/2 connection.
        maxReservedStreams - The maximum amount of streams which can exist in the reserved state for each endpoint.