| Package | Description |
|---|---|
| net.inveed.jsonrpc.client | |
| net.inveed.jsonrpc.client.builder | |
| net.inveed.jsonrpc.client.metadata |
| Modifier and Type | Method and Description |
|---|---|
static ParamsType |
ParamsType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParamsType[] |
ParamsType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
JsonRpcClient.onDemand(Class<T> clazz,
ParamsType paramsType)
Creates a new proxy for accessing a remote JSON-RPC service through an interface
with a custom type of request params.
|
<T> T |
JsonRpcClient.onDemand(Class<T> clazz,
ParamsType paramsType,
IdGenerator<?> idGenerator)
Creates a new proxy for accessing a remote JSON-RPC service through an interface
with a custom id generator and custom type of request params.
|
| Constructor and Description |
|---|
ObjectApiBuilder(Class<?> clazz,
Transport transport,
com.fasterxml.jackson.databind.ObjectMapper mapper,
ParamsType userParamsType,
IdGenerator<?> userIdGenerator)
Crate a new proxy for an interface
|
| Modifier and Type | Method and Description |
|---|---|
ParamsType |
MethodMetadata.getParamsType() |
ParamsType |
ClassMetadata.getParamsType() |
| Constructor and Description |
|---|
ClassMetadata(ParamsType paramsType,
IdGenerator<?> idGenerator,
Map<Method,MethodMetadata> methods) |
MethodMetadata(String name,
ParamsType paramsType,
Map<String,ParameterMetadata> params) |
Copyright © 2018. All rights reserved.