Class WsProtocolConfigProvider

java.lang.Object
io.helidon.webserver.websocket.WsProtocolConfigProvider
All Implemented Interfaces:
ConfiguredProvider<WsConfig>, ProtocolConfigProvider<WsConfig>

public class WsProtocolConfigProvider extends Object implements ProtocolConfigProvider<WsConfig>
Service provider implementation for WebSocket protocol configuration.
  • Constructor Details

    • WsProtocolConfigProvider

      public WsProtocolConfigProvider()
  • Method Details

    • configKey

      public String 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 interface ConfiguredProvider<WsConfig>
      Returns:
      key of this implementation
    • create

      public WsConfig create(Config config, String name)
      Description copied from interface: ConfiguredProvider
      Create a new instance from the configuration located on the provided node.
      Specified by:
      create in interface ConfiguredProvider<WsConfig>
      Parameters:
      config - located at ConfiguredProvider.configKey() node
      name - name of the configured implementation
      Returns:
      a new instance created from this config node