java.lang.Object
io.helidon.webserver.http1.Http1ProtocolConfigProvider
- All Implemented Interfaces:
ConfiguredProvider<Http1Config>
,ProtocolConfigProvider<Http1Config>
public class Http1ProtocolConfigProvider
extends Object
implements ProtocolConfigProvider<Http1Config>
Implementation of a service provider interface to create HTTP/1.1 protocol configuration.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Http1ProtocolConfigProvider
public Http1ProtocolConfigProvider()Required default constructor forServiceLoader
.
-
-
Method Details
-
configKey
Description copied from interface:ConfiguredProvider
Key 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:
configKey
in interfaceConfiguredProvider<Http1Config>
- Returns:
- key of this implementation
-
create
Description copied from interface:ConfiguredProvider
Create a new instance from the configuration located on the provided node.- Specified by:
create
in interfaceConfiguredProvider<Http1Config>
- Parameters:
config
- located atConfiguredProvider.configKey()
nodename
- name of the configured implementation- Returns:
- a new instance created from this config node
-