Module io.helidon.webserver.http2
Package io.helidon.webserver.http2
Class Http2ProtocolConfigProvider
java.lang.Object
io.helidon.webserver.http2.Http2ProtocolConfigProvider
- All Implemented Interfaces:
ConfiguredProvider<Http2Config>,ProtocolConfigProvider<Http2Config>
public class Http2ProtocolConfigProvider
extends Object
implements ProtocolConfigProvider<Http2Config>
Implementation of a service provider interface to create HTTP/2 protocol configuration.
This configuration is used both when upgrading from HTTP/1 and when using selector.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Http2ProtocolConfigProvider
public Http2ProtocolConfigProvider()
-
-
Method Details
-
configKey
Description copied from interface:ConfiguredProviderKey this service implementation is stored under. This is also considered the service "type" when used in a list in configuration, to allow the same service defined more than once.- Specified by:
configKeyin interfaceConfiguredProvider<Http2Config>- Returns:
- key of this implementation
-
create
Description copied from interface:ConfiguredProviderCreate a new instance from the configuration located on the provided node.- Specified by:
createin interfaceConfiguredProvider<Http2Config>- Parameters:
config- located atConfiguredProvider.configKey()nodename- name of the configured implementation- Returns:
- a new instance created from this config node
-