Interface ServerConnectionProvider

All Known Implementing Classes:
Http1ConnectionProvider, Http2ConnectionProvider

public interface ServerConnectionProvider
ServiceLoader provider interface for server connection providers. This interface serves as ServerConnectionSelector builder which receives requested configuration nodes from the server configuration when server builder is running.
  • Method Details

    • configKeys

      Iterable<String> configKeys()
      Provider's specific configuration nodes names.
      Returns:
      names of the nodes to request
    • create

      Creates an instance of server connection selector.
      Parameters:
      configs - configuration for each configKeys(), the config may be empty, but it will be present for each value
      Returns:
      new server connection selector