Class DefaultHttp2Connection

java.lang.Object
io.netty.handler.codec.http2.DefaultHttp2Connection
All Implemented Interfaces:
Http2Connection

public class DefaultHttp2Connection extends Object implements Http2Connection
Simple implementation of Http2Connection.
  • Constructor Details

    • 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.
  • Method Details