Interface JsonRpcClientProtocolConfig

All Superinterfaces:
io.helidon.common.config.NamedService, io.helidon.webclient.spi.ProtocolConfig, io.helidon.builder.api.Prototype.Api
All Known Implementing Classes:
JsonRpcClientProtocolConfig.BuilderBase.JsonRpcClientProtocolConfigImpl

public interface JsonRpcClientProtocolConfig extends io.helidon.builder.api.Prototype.Api
Configuration of a JSON-RPC client.
See Also:
  • Method Details

    • builder

      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static JsonRpcClientProtocolConfig create(io.helidon.common.config.Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      static JsonRpcClientProtocolConfig create()
      Create a new instance with default values.
      Returns:
      a new instance
    • type

      default String type()
      Type identifying this protocol.
      Specified by:
      type in interface io.helidon.common.config.NamedService
      Returns:
      protocol type
    • name

      String name()
      Name identifying this client protocol. Defaults to type.
      Specified by:
      name in interface io.helidon.common.config.NamedService
      Returns:
      name of client protocol