Module io.helidon.webclient.http2
Package io.helidon.webclient.http2
Class Http2ProtocolConfigProvider
java.lang.Object
io.helidon.webclient.http2.Http2ProtocolConfigProvider
- All Implemented Interfaces:
ConfiguredProvider<Http2ClientProtocolConfig>
,ProtocolConfigProvider<Http2ClientProtocolConfig>
public class Http2ProtocolConfigProvider
extends Object
implements ProtocolConfigProvider<Http2ClientProtocolConfig>
Implementation of protocol config provider.
-
Constructor Summary
ConstructorDescriptionDeprecated.do not use directly, use Http1ClientProtocol -
Method Summary
-
Constructor Details
-
Http2ProtocolConfigProvider
public Http2ProtocolConfigProvider()Deprecated.do not use directly, use Http1ClientProtocolRequired to be used byServiceLoader
.
-
-
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<Http2ClientProtocolConfig>
- 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<Http2ClientProtocolConfig>
- Parameters:
config
- located atConfiguredProvider.configKey()
nodename
- name of the configured implementation- Returns:
- a new instance created from this config node
-