Class Http2ConnectionProvider

java.lang.Object
io.helidon.webserver.http2.Http2ConnectionProvider
All Implemented Interfaces:
ServerConnectionSelectorProvider<io.helidon.webserver.http2.Http2Config>

public class Http2ConnectionProvider extends Object implements ServerConnectionSelectorProvider<io.helidon.webserver.http2.Http2Config>
ServerConnectionSelectorProvider implementation for HTTP/2 server connection provider.
  • Constructor Details

    • Http2ConnectionProvider

      @Deprecated public Http2ConnectionProvider()
      Deprecated.
      to be used solely by ServiceLoader
      Creates an instance of HTTP/2 server connection provider.
  • Method Details

    • protocolConfigType

      public Class<io.helidon.webserver.http2.Http2Config> protocolConfigType()
      Description copied from interface: ServerConnectionSelectorProvider
      Type of configuration supported by this connection provider.
      Specified by:
      protocolConfigType in interface ServerConnectionSelectorProvider<io.helidon.webserver.http2.Http2Config>
      Returns:
      type of configuration used by this provider
    • protocolType

      public String protocolType()
      Description copied from interface: ServerConnectionSelectorProvider
      Type of protocol, such as http_1_1.
      Specified by:
      protocolType in interface ServerConnectionSelectorProvider<io.helidon.webserver.http2.Http2Config>
      Returns:
      type of this protocol, used in configuration
    • create

      public ServerConnectionSelector create(String listenerName, io.helidon.webserver.http2.Http2Config config, ProtocolConfigs configs)
      Description copied from interface: ServerConnectionSelectorProvider
      Creates an instance of server connection selector.
      Specified by:
      create in interface ServerConnectionSelectorProvider<io.helidon.webserver.http2.Http2Config>
      Parameters:
      listenerName - name of the listener this selector will be active on
      config - configuration of this provider
      configs - configuration of all protocols of this socket, to be used for nested protocol support, only providers that do have a configuration available should be created!
      Returns:
      new server connection selector