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
Constructors -
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 byServiceLoaderCreate a new instance with default configuration. To customize instance programmatically, useHttp1ConnectionSelectorinstead.
-
-
Method Details
-
protocolConfigType
Description copied from interface:ServerConnectionSelectorProviderType of configuration supported by this connection provider.- Specified by:
protocolConfigTypein interfaceServerConnectionSelectorProvider<Http1Config>- Returns:
- type of configuration used by this provider
-
protocolType
Description copied from interface:ServerConnectionSelectorProviderType of protocol, such ashttp_1_1.- Specified by:
protocolTypein interfaceServerConnectionSelectorProvider<Http1Config>- Returns:
- type of this protocol, used in configuration
-
create
public ServerConnectionSelector create(String socketName, Http1Config config, ProtocolConfigs configs) Description copied from interface:ServerConnectionSelectorProviderCreates an instance of server connection selector.- Specified by:
createin 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