Package org.consensusj.jsonrpc
package org.consensusj.jsonrpc
Basic JSON-RPC Java client and supporting classes.
-
ClassDescriptionHelper methods for creating asynchronous calls using
CompletableFuture
.Subinterface ofSupplier
for Lambdas which throwIOException
.Error filter for resilient polling.A Trust Manager that adds a second trust store (key store) to the default trust store.A strongly-typed, Jackson-based JSON-RPC client.Functional interface for ignoring what are considered "transient" errors.Functional interface for creating JsonRpcTransport instances.JsonRpcClient<T extends Type>JSON-RPC client interface.JSON-RPC Client usingHttpURLConnection
formerly namedRpcClient
.Incubating JSON-RPC client usingHttpClient
Map a response string to a Java object.JSON-RPC Error Object POJOException wrapper for JsonRpcError Useful in server implementations, throwing an error that will be transmitted to the client.JSON RPC ExceptionIn the future this may be a superclass forJsonRpcRequest
andJsonRpcResponse
.JSON-RPC Request POJOJsonRpcResponse<RSLT>JSON-RPC Response POJO Note thatresult
is a parameterized type and can be used to directly map JSON-RPC results to the correct type for each method.Interface for an Asynchronous JSON-RPC Server/Service.JSON-RPC returned HTTP status other than 200 (and unfortunately also sometimes when their is response.error) Additional information is usually in JSON-RPC response TODO: See TODO in parent classJsonRpcException
JsonRpcTransport<T extends Type>Defines the interface for a network-layer implementation of a JSON-RPC client.