Class ConnectionProviders

java.lang.Object
io.helidon.webserver.ConnectionProviders

public class ConnectionProviders extends Object
Connection provider candidates.
  • Method Details

    • create

      public static ConnectionProviders create(List<ServerConnectionSelector> connectionProviders)
      Create a new connection providers instance.
      Parameters:
      connectionProviders - list of providers to use
      Returns:
      a new instance of connection providers
    • providerCandidates

      public List<ServerConnectionSelector> providerCandidates()
      Get a new (mutable) list of provider candidates.
      Returns:
      provider candidates
    • supportedApplicationProtocols

      public Set<String> supportedApplicationProtocols()
      Get a set of supported application protocols (used with ALPN).
      Returns:
      protocols supported
    • byApplicationProtocol

      public ServerConnectionSelector byApplicationProtocol(String protocol)
      Get a connection provider for the application protocol.
      Parameters:
      protocol - protocol id
      Returns:
      connection provider