Module io.helidon.webserver
Package io.helidon.webserver.spi
Interface ServerConnectionSelectorProvider<T extends ProtocolConfig>
- Type Parameters:
- T- type of the protocol config
- All Known Implementing Classes:
- Http1ConnectionProvider,- Http2ConnectionProvider
public interface ServerConnectionSelectorProvider<T extends ProtocolConfig>
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 SummaryModifier and TypeMethodDescriptioncreate(String listenerName, T config, ProtocolConfigs configs) Creates an instance of server connection selector.Type of configuration supported by this connection provider.Type of protocol, such ashttp_1_1.
- 
Method Details- 
protocolConfigTypeType of configuration supported by this connection provider.- Returns:
- type of configuration used by this provider
 
- 
protocolTypeString protocolType()Type of protocol, such ashttp_1_1.- Returns:
- type of this protocol, used in configuration
 
- 
createCreates an instance of server connection selector.- 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
 
 
-