Package io.helidon.webclient.websocket
Class WsProtocolConfigProvider
java.lang.Object
io.helidon.webclient.websocket.WsProtocolConfigProvider
- All Implemented Interfaces:
ConfiguredProvider<WsClientProtocolConfig>,ConfiguredProvider<WsClientProtocolConfig>,ProtocolConfigProvider<WsClientProtocolConfig>
public class WsProtocolConfigProvider
extends Object
implements ProtocolConfigProvider<WsClientProtocolConfig>
Implementation of protocol config provider.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.do not use directly, use WsClientProtocolConfig -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.config.ConfiguredProvider
create
-
Constructor Details
-
WsProtocolConfigProvider
public WsProtocolConfigProvider()Deprecated.do not use directly, use WsClientProtocolConfigRequired to be used byServiceLoader.
-
-
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<WsClientProtocolConfig>- Specified by:
configKeyin interfaceConfiguredProvider<WsClientProtocolConfig>- Returns:
- key of this implementation
-
create
Description copied from interface:ConfiguredProviderCreate a new instance from the configuration located on the provided node.API Note: the default method implementation is provided for backward compatibility and will be removed in the next major version
- Specified by:
createin interfaceConfiguredProvider<WsClientProtocolConfig>- Parameters:
config- located atConfiguredProvider.configKey()nodename- name of the configured implementation- Returns:
- a new instance created from this config node
-