- ID - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
-
- IJsonRpcClient - Interface in com.googlecode.jsonrpc4j
-
- interceptRequest(JsonNode) - Method in interface com.googlecode.jsonrpc4j.RequestInterceptor
-
This method will be invoked prior to any JSON-RPC service being invoked.
- INTERNAL_ERROR - Static variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
-
- INVALID_REQUEST - Static variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
-
- InvocationListener - Interface in com.googlecode.jsonrpc4j
-
Implementations of this interface are able to be informed when JSON-RPC services are invoked.
- invoke(String, Object) - Method in interface com.googlecode.jsonrpc4j.IJsonRpcClient
-
Invokes the given method with the given argument.
- invoke(String, Object, Type) - Method in interface com.googlecode.jsonrpc4j.IJsonRpcClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invoke(String, Object, Type, Map<String, String>) - Method in interface com.googlecode.jsonrpc4j.IJsonRpcClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invoke(String, Object, Class<T>) - Method in interface com.googlecode.jsonrpc4j.IJsonRpcClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invoke(String, Object, Class<T>, Map<String, String>) - Method in interface com.googlecode.jsonrpc4j.IJsonRpcClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invoke(String, Object, OutputStream) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
-
Invokes the given method on the remote service passing
the given argument.
- invoke(String, Object) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpAsyncClient
-
Invokes the given method with the given arguments and returns
immediately.
- invoke(String, Object, Class<T>) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpAsyncClient
-
Invokes the given method with the given arguments and returns
immediately.
- invoke(String, Object, JsonRpcCallback<Object>) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpAsyncClient
-
Invokes the given method with the given arguments and invokes the
JsonRpcCallback
with the result.
- invoke(String, Object, Class<T>, JsonRpcCallback<T>) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpAsyncClient
-
Invokes the given method with the given arguments and invokes the
JsonRpcCallback
with the result cast to the given
returnType
, or null if void.
- invoke(String, Object) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
-
Invokes the given method with the given argument.
- invoke(String, Object, Type) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invoke(String, Object, Type, Map<String, String>) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invoke(String, Object, Class<T>) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invoke(String, Object, Class<T>, Map<String, String>) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invoke(String, Object) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
-
Invokes the given method with the given argument.
- invoke(String, Object, Type) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invoke(String, Object, Type, Map<String, String>) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invoke(String, Object, Class<T>) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invoke(String, Object, Class<T>, Map<String, String>) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
-
Invokes the given method with the given arguments and returns
an object of the given type, or null if void.
- invokeAndReadResponse(String, Object, Class<T>, OutputStream, InputStream) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
-
Invokes the given method on the remote service
passing the given arguments, a generated id and reads
a response.
- invokeAndReadResponse(String, Object, Type, OutputStream, InputStream) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
-
Invokes the given method on the remote service
passing the given arguments, a generated id and reads
a response.
- invokeAndReadResponse(String, Object, Class<T>, OutputStream, InputStream, String) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
-
Invokes the given method on the remote service
passing the given arguments and reads a response.
- invokeNotification(String, Object, OutputStream) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
-
Invokes the given method on the remote service passing
the given argument without reading or expecting a return
response.
- isStarted() - Method in class com.googlecode.jsonrpc4j.StreamServer
-
- JsonError(int, String, Object) - Constructor for class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
-
Creates the error.
- JSONRPC - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
-
- JSONRPC_CONTENT_TYPE - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
-
- JsonRpcBasicServer - Class in com.googlecode.jsonrpc4j
-
A JSON-RPC request server reads JSON-RPC requests from an input stream and writes responses to an output stream.
- JsonRpcBasicServer(ObjectMapper, Object) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcBasicServer
-
Creates the server with the given ObjectMapper
delegating
all calls to the given handler
.
- JsonRpcBasicServer(ObjectMapper, Object, Class<?>) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcBasicServer
-
Creates the server with the given ObjectMapper
delegating
all calls to the given handler
Object
but only
methods available on the remoteInterface
.
- JsonRpcBasicServer(Object, Class<?>) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcBasicServer
-
Creates the server with a default ObjectMapper
delegating
all calls to the given handler
Object
but only
methods available on the remoteInterface
.
- JsonRpcBasicServer(Object) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcBasicServer
-
Creates the server with a default ObjectMapper
delegating
all calls to the given handler
.
- JsonRpcCallback<T> - Interface in com.googlecode.jsonrpc4j
-
This interface is used by the JsonRpcHttpAsyncClient for receiving
RPC responses.
- JsonRpcClient - Class in com.googlecode.jsonrpc4j
-
A JSON-RPC client.
- JsonRpcClient() - Constructor for class com.googlecode.jsonrpc4j.JsonRpcClient
-
Creates a client that uses the default ObjectMapper
to map to and from JSON and Java objects.
- JsonRpcClient(ObjectMapper) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcClient
-
Creates a client that uses the given ObjectMapper
to
map to and from JSON and Java objects.
- JsonRpcClient.RequestListener - Interface in com.googlecode.jsonrpc4j
-
Provides access to the jackson ObjectNode
s
that represent the JSON-RPC requests and responses.
- JsonRpcClientException - Exception in com.googlecode.jsonrpc4j
-
Unchecked Exception thrown by a JSON-RPC client when
an error occurs.
- JsonRpcClientException(int, String, JsonNode) - Constructor for exception com.googlecode.jsonrpc4j.JsonRpcClientException
-
Creates the exception.
- JsonRpcError - Annotation Type in com.googlecode.jsonrpc4j
-
Annotation for mapping exceptions in service methods to custom JsonRpc errors.
- JsonRpcErrors - Annotation Type in com.googlecode.jsonrpc4j
-
Annotation for holding an array of @JsonRpcError annotations
for a method.
- JsonRpcHttpAsyncClient - Class in com.googlecode.jsonrpc4j
-
Implements an asynchronous JSON-RPC 2.0 HTTP client.
- JsonRpcHttpAsyncClient(URL) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcHttpAsyncClient
-
- JsonRpcHttpAsyncClient(ObjectMapper, URL, Map<String, String>) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcHttpAsyncClient
-
- JsonRpcHttpAsyncClient(URL, Map<String, String>) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcHttpAsyncClient
-
- JsonRpcHttpClient - Class in com.googlecode.jsonrpc4j
-
A JSON-RPC client that uses the HTTP protocol.
- JsonRpcHttpClient(URL, Map<String, String>) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcHttpClient
-
- JsonRpcHttpClient(ObjectMapper, URL, Map<String, String>) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcHttpClient
-
- JsonRpcHttpClient(URL) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcHttpClient
-
- JsonRpcMethod - Annotation Type in com.googlecode.jsonrpc4j
-
Annotation for annotating service methods as
JsonRpc method by name.
- JsonRpcMultiServer - Class in com.googlecode.jsonrpc4j
-
A multiple service dispatcher that supports JSON-RPC "method" names
that use dot-notation to select a server endpoint.
- JsonRpcMultiServer() - Constructor for class com.googlecode.jsonrpc4j.JsonRpcMultiServer
-
- JsonRpcMultiServer(ObjectMapper) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcMultiServer
-
- JsonRpcParam - Annotation Type in com.googlecode.jsonrpc4j
-
Annotation for annotating service parameters as
JsonRpc params by name.
- JsonRpcRestClient - Class in com.googlecode.jsonrpc4j.spring.rest
-
- JsonRpcRestClient(URL) - Constructor for class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
-
- JsonRpcRestClient(URL, ObjectMapper, RestTemplate, Map<String, String>) - Constructor for class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
-
- JsonRpcRestClient(URL, Map<String, String>) - Constructor for class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
-
- JsonRpcRestClient(URL, RestTemplate) - Constructor for class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
-
- JsonRpcServer - Class in com.googlecode.jsonrpc4j
-
A JSON-RPC request server reads JSON-RPC requests from an input stream and writes responses to an output stream.
- JsonRpcServer(ObjectMapper, Object, Class<?>) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcServer
-
Creates the server with the given ObjectMapper
delegating
all calls to the given handler
Object
but only
methods available on the remoteInterface
.
- JsonRpcServer(ObjectMapper, Object) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcServer
-
Creates the server with the given ObjectMapper
delegating
all calls to the given handler
.
- JsonRpcServer(Object) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcServer
-
Creates the server with a default ObjectMapper
delegating
all calls to the given handler
.
- JsonRpcService - Annotation Type in com.googlecode.jsonrpc4j
-
Annotation to define the path of a JSON-RPC service.