java.lang.Object
io.helidon.webserver.http1.Http1ConnectionProvider
- All Implemented Interfaces:
ServerConnectionSelectorProvider<Http1Config>
public class Http1ConnectionProvider
extends Object
implements ServerConnectionSelectorProvider<Http1Config>
ServerConnectionSelectorProvider
implementation for HTTP/1.1 server connection provider.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String socketName, Http1Config 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
.
-
Constructor Details
-
Http1ConnectionProvider
Deprecated.to be used solely byServiceLoader
Create a new instance with default configuration. To customize instance programmatically, useHttp1ConnectionSelector
instead.
-
-
Method Details
-
protocolConfigType
Description copied from interface:ServerConnectionSelectorProvider
Type of configuration supported by this connection provider.- Specified by:
protocolConfigType
in interfaceServerConnectionSelectorProvider<Http1Config>
- Returns:
- type of configuration used by this provider
-
protocolType
Description copied from interface:ServerConnectionSelectorProvider
Type of protocol, such ashttp_1_1
.- Specified by:
protocolType
in interfaceServerConnectionSelectorProvider<Http1Config>
- Returns:
- type of this protocol, used in configuration
-
create
public ServerConnectionSelector create(String socketName, Http1Config config, ProtocolConfigs configs) Description copied from interface:ServerConnectionSelectorProvider
Creates an instance of server connection selector.- Specified by:
create
in interfaceServerConnectionSelectorProvider<Http1Config>
- Parameters:
socketName
- name of the listener this selector will be active onconfig
- configuration of this providerconfigs
- 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
-
ServiceLoader