Skip navigation links
A B C E G I J K M N O P R S T V 

A

AbstractBuilder - Class in net.inveed.jsonrpc.client.builder
Abstract builder for JSON-RPC requests
AbstractBuilder(Transport, ObjectMapper) - Constructor for class net.inveed.jsonrpc.client.builder.AbstractBuilder
 
add(long, String, Object...) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request without specifying a return type
add(int, String, Object...) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request without specifying a return type
add(String, String, Object...) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request without specifying a return type
add(String, Object...) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new notification request without specifying a return type
add(long, String, Map<String, ?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request without specifying a return type
add(int, String, Map<String, ?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request without specifying a return type
add(String, String, Map<String, ?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request without specifying a return type
add(String, Map<String, ?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new notification request without specifying a return type
add(long, String, Object[], Class<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a return type
add(int, String, Object[], Class<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a return type
add(String, String, Object[], Class<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a return type
add(long, String, Map<String, ?>, Class<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a return type
add(int, String, Map<String, ?>, Class<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a return type
add(String, String, Map<String, ?>, Class<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a return type
add(long, String, Object[], TypeReference<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a complex return type
add(int, String, Object[], TypeReference<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a complex return type
add(String, String, Object[], TypeReference<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a complex return type
add(long, String, Map<String, ?>, TypeReference<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a complex return type
add(int, String, Map<String, ?>, TypeReference<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a complex return type
add(String, String, Map<String, ?>, TypeReference<?>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Adds a new request with a complex return type
arrayParams(Object[]) - Method in class net.inveed.jsonrpc.client.builder.AbstractBuilder
Builds request params as a JSON array
AtomicLongIdGenerator - Class in net.inveed.jsonrpc.client.generator
Return id from an atomic long counter It's the most reliable and straightforward way to generate identifiers
AtomicLongIdGenerator() - Constructor for class net.inveed.jsonrpc.client.generator.AtomicLongIdGenerator
 

B

BatchRequestBuilder<K,V> - Class in net.inveed.jsonrpc.client.builder
Fluent builder of batch JSON-RPC requests.
BatchRequestBuilder(Transport, ObjectMapper) - Constructor for class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Creates a new batch request builder in an initial state
BatchRequestBuilder(Transport, ObjectMapper, List<ObjectNode>, Map<Object, JavaType>, Class<K>, JavaType) - Constructor for class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Creates a new batch request builder as a part of a chain

C

ClassMetadata - Class in net.inveed.jsonrpc.client.metadata
Metadata about a Java class
ClassMetadata(ParamsType, IdGenerator<?>, Map<Method, MethodMetadata>) - Constructor for class net.inveed.jsonrpc.client.metadata.ClassMetadata
 
createBatchRequest() - Method in class net.inveed.jsonrpc.client.JsonRpcClient
Creates a builder of a JSON-RPC batch request in initial state
createNotification() - Method in class net.inveed.jsonrpc.client.JsonRpcClient
Creates a builder of a JSON-RPC notification request in initial state
createRequest() - Method in class net.inveed.jsonrpc.client.JsonRpcClient
Creates a builder of a JSON-RPC request in initial state
CurrentTimeIdGenerator - Class in net.inveed.jsonrpc.client.generator
Return current time as id.
CurrentTimeIdGenerator() - Constructor for class net.inveed.jsonrpc.client.generator.CurrentTimeIdGenerator
 

E

ERROR - Static variable in class net.inveed.jsonrpc.client.builder.AbstractBuilder
 
execute() - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Validates, executes the request and process response
execute() - Method in class net.inveed.jsonrpc.client.builder.NotificationRequestBuilder
Execute a request through Transport
execute() - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Execute a request through Transport and convert a not null response to an expected type
executeNullable() - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Execute a request through Transport and convert a nullable response to an expected type

G

generate() - Method in class net.inveed.jsonrpc.client.generator.AtomicLongIdGenerator
 
generate() - Method in class net.inveed.jsonrpc.client.generator.CurrentTimeIdGenerator
 
generate() - Method in interface net.inveed.jsonrpc.client.generator.IdGenerator
 
generate() - Method in class net.inveed.jsonrpc.client.generator.SecureRandomIntIdGenerator
 
generate() - Method in class net.inveed.jsonrpc.client.generator.SecureRandomLongIdGenerator
 
generate() - Method in class net.inveed.jsonrpc.client.generator.SecureRandomStringIdGenerator
 
getErrorMessage() - Method in exception net.inveed.jsonrpc.client.exception.JsonRpcException
 
getErrors() - Method in exception net.inveed.jsonrpc.client.exception.JsonRpcBatchException
 
getIdGenerator() - Method in class net.inveed.jsonrpc.client.metadata.ClassMetadata
 
getIndex() - Method in class net.inveed.jsonrpc.client.metadata.ParameterMetadata
 
getMethods() - Method in class net.inveed.jsonrpc.client.metadata.ClassMetadata
 
getName() - Method in class net.inveed.jsonrpc.client.metadata.MethodMetadata
 
getParams() - Method in class net.inveed.jsonrpc.client.metadata.MethodMetadata
 
getParamsType() - Method in class net.inveed.jsonrpc.client.metadata.ClassMetadata
 
getParamsType() - Method in class net.inveed.jsonrpc.client.metadata.MethodMetadata
 
getSuccesses() - Method in exception net.inveed.jsonrpc.client.exception.JsonRpcBatchException
 

I

ID - Static variable in class net.inveed.jsonrpc.client.builder.AbstractBuilder
 
id(Long) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets a request id as a long value
id(Integer) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets a request id as an integer value
id(String) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets a request id as a string value
IdGenerator<T> - Interface in net.inveed.jsonrpc.client.generator
Strategy for generation request identificators
invoke(Object, Method, Object[]) - Method in class net.inveed.jsonrpc.client.builder.ObjectApiBuilder
 
isOptional() - Method in class net.inveed.jsonrpc.client.metadata.ParameterMetadata
 

J

JSONRPC - Static variable in class net.inveed.jsonrpc.client.builder.AbstractBuilder
 
JsonRpcBatchException - Exception in net.inveed.jsonrpc.client.exception
Exception that occurs when batch JSON-RPC request is not completely successful
JsonRpcBatchException(String, Map<?, ?>, Map<?, ErrorMessage>) - Constructor for exception net.inveed.jsonrpc.client.exception.JsonRpcBatchException
 
JsonRpcClient - Class in net.inveed.jsonrpc.client
JSON-RPC client.
JsonRpcClient(Transport) - Constructor for class net.inveed.jsonrpc.client.JsonRpcClient
Constructs a new JSON-RPC client with a specified transport
JsonRpcClient(Transport, ObjectMapper) - Constructor for class net.inveed.jsonrpc.client.JsonRpcClient
Constructs a new JSON-RPC client with a specified transport and user-definder JSON mapper
JsonRpcException - Exception in net.inveed.jsonrpc.client.exception
Represents JSON-RPC error returned by a server
JsonRpcException(ErrorMessage) - Constructor for exception net.inveed.jsonrpc.client.exception.JsonRpcException
 
JsonRpcId - Annotation Type in net.inveed.jsonrpc.client
 
JsonRpcParams - Annotation Type in net.inveed.jsonrpc.client
 

K

keysType(Class<NK>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Sets type of request keys.

M

mapper - Variable in class net.inveed.jsonrpc.client.builder.AbstractBuilder
Jackson mapper for JSON processing
METHOD - Static variable in class net.inveed.jsonrpc.client.builder.AbstractBuilder
 
method(String) - Method in class net.inveed.jsonrpc.client.builder.NotificationRequestBuilder
Sets a request method
method(String) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets a request method
MethodMetadata - Class in net.inveed.jsonrpc.client.metadata
Metadata about a Java method
MethodMetadata(String, ParamsType, Map<String, ParameterMetadata>) - Constructor for class net.inveed.jsonrpc.client.metadata.MethodMetadata
 

N

net.inveed.jsonrpc.client - package net.inveed.jsonrpc.client
 
net.inveed.jsonrpc.client.builder - package net.inveed.jsonrpc.client.builder
 
net.inveed.jsonrpc.client.exception - package net.inveed.jsonrpc.client.exception
 
net.inveed.jsonrpc.client.generator - package net.inveed.jsonrpc.client.generator
 
net.inveed.jsonrpc.client.metadata - package net.inveed.jsonrpc.client.metadata
 
NotificationRequestBuilder - Class in net.inveed.jsonrpc.client.builder
Type-safe builder of JSON-RPC notification requests.
NotificationRequestBuilder(Transport, ObjectMapper) - Constructor for class net.inveed.jsonrpc.client.builder.NotificationRequestBuilder
Creates a new notification request builder

O

ObjectApiBuilder - Class in net.inveed.jsonrpc.client.builder
Proxy for accessing a remote JSON-RPC service trough an interface.
ObjectApiBuilder(Class<?>, Transport, ObjectMapper, ParamsType, IdGenerator<?>) - Constructor for class net.inveed.jsonrpc.client.builder.ObjectApiBuilder
Crate a new proxy for an interface
objectParams(Map<String, ?>) - Method in class net.inveed.jsonrpc.client.builder.AbstractBuilder
Builds request params as a JSON object
onDemand(Class<T>) - Method in class net.inveed.jsonrpc.client.JsonRpcClient
Creates a new proxy for accessing a remote JSON-RPC service through an interface
onDemand(Class<T>, IdGenerator<?>) - Method in class net.inveed.jsonrpc.client.JsonRpcClient
Creates a new proxy for accessing a remote JSON-RPC service through an interface with a custom id generator that overrides the interface generator.
onDemand(Class<T>, ParamsType) - Method in class net.inveed.jsonrpc.client.JsonRpcClient
Creates a new proxy for accessing a remote JSON-RPC service through an interface with a custom type of request params.
onDemand(Class<T>, ParamsType, IdGenerator<?>) - Method in class net.inveed.jsonrpc.client.JsonRpcClient
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.

P

param(String, Object) - Method in class net.inveed.jsonrpc.client.builder.NotificationRequestBuilder
Adds a new parameter to current request parameters.
param(String, Object) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Adds a new parameter to current request parameters.
ParameterMetadata - Class in net.inveed.jsonrpc.client.metadata
Method parameter metadata
ParameterMetadata(int, boolean) - Constructor for class net.inveed.jsonrpc.client.metadata.ParameterMetadata
 
PARAMS - Static variable in class net.inveed.jsonrpc.client.builder.AbstractBuilder
 
params(Object...) - Method in class net.inveed.jsonrpc.client.builder.NotificationRequestBuilder
Sets request parameters to request parameters.
params(Object...) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets request parameters to request parameters.
ParamsType - Enum in net.inveed.jsonrpc.client
Style of JSON-RPC parameters representation (map or array)
pass(String) - Method in interface net.inveed.jsonrpc.client.Transport
Passes a JSON-RPC request in a text form to a backend and returns a JSON-RPC response in a text form as well

R

request(ValueNode, String, JsonNode) - Method in class net.inveed.jsonrpc.client.builder.AbstractBuilder
Creates a new JSON-RPC request as a JSON object
RequestBuilder<T> - Class in net.inveed.jsonrpc.client.builder
Type-safe builder of JSON-RPC requests.
RequestBuilder(Transport, ObjectMapper) - Constructor for class net.inveed.jsonrpc.client.builder.RequestBuilder
Creates a new default request builder without actual parameters
RESULT - Static variable in class net.inveed.jsonrpc.client.builder.AbstractBuilder
 
returnAs(Class<NT>) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets expected return type.
returnAs(TypeReference<NT>) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets expected return type as a generic type, e.g.
returnAsArray(Class<E>) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets expected return type as an array
returnAsCollection(Class<? extends Collection<?>>, Class<E>) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets expected return type as a collection of objects.
returnAsList(Class<E>) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets expected return type as a list of objects
returnAsMap(Class<? extends Map<?, ?>>, Class<V>) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets expected return type as a map of objects.
returnAsSet(Class<E>) - Method in class net.inveed.jsonrpc.client.builder.RequestBuilder
Sets expected return type as a set of objects
returnType(Class<NV>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Sets an expected response type of requests.
returnType(TypeReference<NV>) - Method in class net.inveed.jsonrpc.client.builder.BatchRequestBuilder
Sets an expected complex response type of requests.

S

SecureRandomIntIdGenerator - Class in net.inveed.jsonrpc.client.generator
Generates secure random positive integers under limit By default limit is 65536
SecureRandomIntIdGenerator() - Constructor for class net.inveed.jsonrpc.client.generator.SecureRandomIntIdGenerator
 
SecureRandomIntIdGenerator(int) - Constructor for class net.inveed.jsonrpc.client.generator.SecureRandomIntIdGenerator
 
SecureRandomLongIdGenerator - Class in net.inveed.jsonrpc.client.generator
Generate secure random positive long identifiers
SecureRandomLongIdGenerator() - Constructor for class net.inveed.jsonrpc.client.generator.SecureRandomLongIdGenerator
 
SecureRandomStringIdGenerator - Class in net.inveed.jsonrpc.client.generator
Generate secure random strings consisting of HEX symbols with length of 40 characters
SecureRandomStringIdGenerator() - Constructor for class net.inveed.jsonrpc.client.generator.SecureRandomStringIdGenerator
Create a default generator
SecureRandomStringIdGenerator(int) - Constructor for class net.inveed.jsonrpc.client.generator.SecureRandomStringIdGenerator
Create generator with a specific identifiers length

T

toString() - Method in class net.inveed.jsonrpc.client.metadata.MethodMetadata
 
toString() - Method in class net.inveed.jsonrpc.client.metadata.ParameterMetadata
 
transport - Variable in class net.inveed.jsonrpc.client.builder.AbstractBuilder
Transport for performing a text request and returning a text response
Transport - Interface in net.inveed.jsonrpc.client
Abstract transport for JSON-RPC communication

V

valueOf(String) - Static method in enum net.inveed.jsonrpc.client.ParamsType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.inveed.jsonrpc.client.ParamsType
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION_2_0 - Static variable in class net.inveed.jsonrpc.client.builder.AbstractBuilder
 
A B C E G I J K M N O P R S T V 
Skip navigation links

Copyright © 2018. All rights reserved.