java.lang.Object
io.helidon.webserver.http2.Http2ConnectionProvider
- All Implemented Interfaces:
ServerConnectionSelectorProvider<Http2Config>
public class Http2ConnectionProvider
extends Object
implements ServerConnectionSelectorProvider<Http2Config>
ServerConnectionSelectorProvider implementation for HTTP/2 server connection provider.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(String listenerName, Http2Config 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
-
Http2ConnectionProvider
Deprecated.to be used solely byServiceLoaderCreates an instance of HTTP/2 server connection provider.
-
-
Method Details
-
protocolConfigType
Description copied from interface:ServerConnectionSelectorProviderType of configuration supported by this connection provider.- Specified by:
protocolConfigTypein interfaceServerConnectionSelectorProvider<Http2Config>- Returns:
- type of configuration used by this provider
-
protocolType
Description copied from interface:ServerConnectionSelectorProviderType of protocol, such ashttp_1_1.- Specified by:
protocolTypein interfaceServerConnectionSelectorProvider<Http2Config>- Returns:
- type of this protocol, used in configuration
-
create
public ServerConnectionSelector create(String listenerName, Http2Config config, ProtocolConfigs configs) Description copied from interface:ServerConnectionSelectorProviderCreates an instance of server connection selector.- Specified by:
createin interfaceServerConnectionSelectorProvider<Http2Config>- Parameters:
listenerName- 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