Module io.helidon.webclient.jsonrpc
Package io.helidon.webclient.jsonrpc
Interface JsonRpcClientProtocolConfig
- All Superinterfaces:
NamedService
,ProtocolConfig
,Prototype.Api
- All Known Implementing Classes:
JsonRpcClientProtocolConfig.BuilderBase.JsonRpcClientProtocolConfigImpl
Configuration of a JSON-RPC client.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Fluent API builder forJsonRpcClientProtocolConfig
.static class
JsonRpcClientProtocolConfig.BuilderBase<BUILDER extends JsonRpcClientProtocolConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends JsonRpcClientProtocolConfig> Fluent API builder base forJsonRpcClientProtocolConfig
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a new fluent API builder to customize configuration.builder
(JsonRpcClientProtocolConfig instance) Create a new fluent API builder from an existing instance.static JsonRpcClientProtocolConfig
create()
Create a new instance with default values.static JsonRpcClientProtocolConfig
Deprecated.static JsonRpcClientProtocolConfig
Create a new instance from configuration.name()
Name identifying this client protocol.default String
type()
Type identifying this protocol.
-
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
Create a new instance from configuration.- Parameters:
config
- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config
- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
name
String name()Name identifying this client protocol. Defaults to type.- Specified by:
name
in interfaceNamedService
- Returns:
- name of client protocol
-
type
Type identifying this protocol.- Specified by:
type
in interfaceNamedService
- Returns:
- protocol type
-
create(io.helidon.config.Config)