Skip navigation links
A B C D E G H I J L M N O P R S T U V W 

A

ACCEPT_ENCODING - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
addErrorResolver(ErrorResolver) - Method in class com.googlecode.jsonrpc4j.MultipleErrorResolver
Adds an ErrorResolver to the end of the resolver chain.
addExceptionResolver(ExceptionResolver) - Method in class com.googlecode.jsonrpc4j.MultipleExceptionResolver
Adds an ExceptionResolver to the end of the resolver chain.
addInvocationListener(InvocationListener) - Method in class com.googlecode.jsonrpc4j.MultipleInvocationListener
Adds an InvocationListener to the end of the list of invocation listeners.
addService(String, Object) - Method in class com.googlecode.jsonrpc4j.JsonRpcMultiServer
 
addService(String, Object, Class<?>) - Method in class com.googlecode.jsonrpc4j.JsonRpcMultiServer
 
AnnotationsErrorResolver - Enum in com.googlecode.jsonrpc4j
ErrorResolver that uses annotations.
assertReadable() - Method in class com.googlecode.jsonrpc4j.ReadContext
 
AutoJsonRpcClientProxyCreator - Class in com.googlecode.jsonrpc4j.spring
Auto-creates proxies for service interfaces annotated with JsonRpcService.
AutoJsonRpcClientProxyCreator() - Constructor for class com.googlecode.jsonrpc4j.spring.AutoJsonRpcClientProxyCreator
 
AutoJsonRpcServiceExporter - Class in com.googlecode.jsonrpc4j.spring
Deprecated.
AutoJsonRpcServiceExporter() - Constructor for class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
 
AutoJsonRpcServiceImpl - Annotation Type in com.googlecode.jsonrpc4j.spring
This annotation goes on the implementation of the JSON-RPC service.
AutoJsonRpcServiceImplExporter - Class in com.googlecode.jsonrpc4j.spring
This class can be instantiated in a spring context in order to simplify the configuration of JSON-RPC services afforded by beans in the same context.
AutoJsonRpcServiceImplExporter() - Constructor for class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 

B

BULK_ERROR - Static variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 

C

code - Variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 
CODE_OK - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
com.googlecode.jsonrpc4j - package com.googlecode.jsonrpc4j
 
com.googlecode.jsonrpc4j.spring - package com.googlecode.jsonrpc4j.spring
 
com.googlecode.jsonrpc4j.spring.rest - package com.googlecode.jsonrpc4j.spring.rest
 
CONTENT_ENCODING - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
ConvertedParameterTransformer - Interface in com.googlecode.jsonrpc4j
Implementations of this interface are able to transform the converted parameters before a method invocation in the JSON-RPC service.
createClientProxy(ClassLoader, Class<T>, JsonRpcClient, Socket) - Static method in class com.googlecode.jsonrpc4j.ProxyUtil
Creates a Proxy of the given proxyInterface that uses the given JsonRpcClient.
createClientProxy(ClassLoader, Class<T>, JsonRpcClient, InputStream, OutputStream) - Static method in class com.googlecode.jsonrpc4j.ProxyUtil
Creates a Proxy of the given proxyInterface that uses the given JsonRpcClient.
createClientProxy(Class<T>, JsonRpcRestClient) - Static method in class com.googlecode.jsonrpc4j.ProxyUtil
 
createClientProxy(ClassLoader, Class<T>, IJsonRpcClient) - Static method in class com.googlecode.jsonrpc4j.ProxyUtil
Creates a Proxy of the given proxyInterface that uses the given JsonRpcHttpClient.
createCompositeServiceProxy(ClassLoader, Object[], boolean) - Static method in class com.googlecode.jsonrpc4j.ProxyUtil
Creates a composite service using all of the given services.
createCompositeServiceProxy(ClassLoader, Object[], Class<?>[], boolean) - Static method in class com.googlecode.jsonrpc4j.ProxyUtil
Creates a composite service using all of the given services and implementing the given interfaces.
createRequest(String, Object) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
 
createRequest(String, Object, String) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
 
CUSTOM_SERVER_ERROR_LOWER - Static variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 
CUSTOM_SERVER_ERROR_UPPER - Static variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 

D

data - Variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 
DATA - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
DEFAULT_HOSTNAME - Static variable in class com.googlecode.jsonrpc4j.Util
 
DEFAULT_SEPARATOR - Static variable in class com.googlecode.jsonrpc4j.JsonRpcMultiServer
 
DefaultErrorResolver - Enum in com.googlecode.jsonrpc4j
An ErrorResolver that puts type information into the data portion of the error.
DefaultExceptionResolver - Enum in com.googlecode.jsonrpc4j
Default implementation of the ExceptionResolver interface that attempts to re-throw the same exception that was thrown by the server.
DefaultHttpStatusCodeProvider - Enum in com.googlecode.jsonrpc4j
This default implementation of a HttpStatusCodeProvider follows the rules defined in the JSON-RPC over HTTP document.
didInvoke(Method, List<JsonNode>, Object, Throwable, long) - Method in interface com.googlecode.jsonrpc4j.InvocationListener
This method will be invoked after a JSON-RPC service has been invoked.
didInvoke(Method, List<JsonNode>, Object, Throwable, long) - Method in class com.googlecode.jsonrpc4j.MultipleInvocationListener
This method will be invoked after a JSON-RPC service has been invoked.

E

equals(Object) - Method in class com.googlecode.jsonrpc4j.ReadContext
 
ERROR - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
ERROR_CODE - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
ERROR_MESSAGE - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
ERROR_NOT_HANDLED - Static variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 
ErrorData - Class in com.googlecode.jsonrpc4j
Data that is added to an error.
ErrorData(String, String) - Constructor for class com.googlecode.jsonrpc4j.ErrorData
Creates it.
ErrorResolver - Interface in com.googlecode.jsonrpc4j
Resolves Throwables thrown by JSON-RPC services.
ErrorResolver.JsonError - Class in com.googlecode.jsonrpc4j
A JSON error.
EXCEPTION_TYPE_NAME - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
ExceptionResolver - Interface in com.googlecode.jsonrpc4j
Resolves client Throwables from server generated ObjectNode.

G

generateID() - Method in interface com.googlecode.jsonrpc4j.RequestIDGenerator
Generate the request ID for each json-rpc request.
getAdditionalJsonContent() - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
 
getAnnotation(Method, Class<T>) - Static method in class com.googlecode.jsonrpc4j.ReflectionUtil
Returns the first Annotation of the given type defined on the given Method.
getAnnotations(Method, Class<T>) - Static method in class com.googlecode.jsonrpc4j.ReflectionUtil
Returns Annotations of the given type defined on the given Method.
getCode() - Method in exception com.googlecode.jsonrpc4j.JsonRpcClientException
 
getConnectionProxy() - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
getConnectionTimeoutMillis() - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
getData() - Method in exception com.googlecode.jsonrpc4j.JsonRpcClientException
 
getExceptionTypeName() - Method in class com.googlecode.jsonrpc4j.ErrorData
 
getHandler(String) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Get the handler (object) that should be invoked to execute the specified RPC method.
getHandler(String) - Method in class com.googlecode.jsonrpc4j.JsonRpcMultiServer
Get the handler (object) that should be invoked to execute the specified RPC method based on the specified service name.
getHandlerInterfaces(String) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Returns the handler's class or interfaces.
getHandlerInterfaces(String) - Method in class com.googlecode.jsonrpc4j.JsonRpcMultiServer
Returns the handler's class or interfaces.
getHeaders() - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
getHeaders() - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
 
getHttpStatusCode(int) - Method in enum com.googlecode.jsonrpc4j.DefaultHttpStatusCodeProvider
 
getHttpStatusCode(int) - Method in interface com.googlecode.jsonrpc4j.HttpStatusCodeProvider
Returns an HTTP status code for the given response and result code.
getJsonRpcCode(int) - Method in enum com.googlecode.jsonrpc4j.DefaultHttpStatusCodeProvider
 
getJsonRpcCode(int) - Method in interface com.googlecode.jsonrpc4j.HttpStatusCodeProvider
Returns result code for the given HTTP status code
getLastException() - Method in class com.googlecode.jsonrpc4j.StreamServer.Server
 
getMaxClientErrors() - Method in class com.googlecode.jsonrpc4j.StreamServer
 
getMessage() - Method in class com.googlecode.jsonrpc4j.ErrorData
 
getMethodName(String) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Get the method name from the methodNode.
getMethodName(String) - Method in class com.googlecode.jsonrpc4j.JsonRpcMultiServer
Get the method name from the methodNode, stripping off the service name.
getNumberOfConnections() - Method in class com.googlecode.jsonrpc4j.StreamServer
 
getNumberOfErrors() - Method in class com.googlecode.jsonrpc4j.StreamServer.Server
 
getObjectMapper() - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
Returns the ObjectMapper that the client is using for JSON marshalling.
getReadContext(InputStream, ObjectMapper) - Static method in class com.googlecode.jsonrpc4j.ReadContext
 
getReadTimeoutMillis() - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
getRequestInterceptor() - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
getSeparator() - Method in class com.googlecode.jsonrpc4j.JsonRpcMultiServer
 
getServers() - Method in class com.googlecode.jsonrpc4j.StreamServer
Returns the current servers.
getServiceName(String) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Get the service name from the methodNode.
getServiceName(String) - Method in class com.googlecode.jsonrpc4j.JsonRpcMultiServer
Get the service name from the methodNode.
getServiceUrl() - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
getServiceUrl() - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
 

H

handle(ResourceRequest, ResourceResponse) - Method in class com.googlecode.jsonrpc4j.JsonRpcServer
Handles a portlet request.
handle(HttpServletRequest, HttpServletResponse) - Method in class com.googlecode.jsonrpc4j.JsonRpcServer
Handles a servlet request.
handleError(ClientHttpResponse) - Method in enum com.googlecode.jsonrpc4j.spring.rest.JsonRpcResponseErrorHandler
 
handleErrorResponse(ObjectNode) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
 
handleJsonNodeRequest(JsonNode, OutputStream) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Handles the given JsonNode and writes the responses to the given OutputStream.
handleRequest(InputStream, OutputStream) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Handles a single request from the given InputStream, that is to say that a single JsonNode is read from the stream and treated as a JSON-RPC request.
hasError(ObjectNode) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
 
hasError(ClientHttpResponse) - Method in enum com.googlecode.jsonrpc4j.spring.rest.JsonRpcResponseErrorHandler
 
hashCode() - Method in class com.googlecode.jsonrpc4j.ReadContext
 
HttpStatusCodeProvider - Interface in com.googlecode.jsonrpc4j
A status code provider maps an HTTP status code to a JSON-RPC result code (e.g.
httpStatusCodeProvider - Variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 

I

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
 

J

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 ObjectNodes 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
Creates the JsonRpcHttpAsyncClient bound to the given serviceUrl.
JsonRpcHttpAsyncClient(ObjectMapper, URL, Map<String, String>) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcHttpAsyncClient
Creates the JsonRpcHttpAsyncClient using the specified ObjectMapper and bound to the given serviceUrl.
JsonRpcHttpAsyncClient(URL, Map<String, String>) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcHttpAsyncClient
Creates the JsonRpcHttpAsyncClient bound to the given serviceUrl.
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
Creates the JsonRpcHttpClient bound to the given serviceUrl.
JsonRpcHttpClient(ObjectMapper, URL, Map<String, String>) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcHttpClient
Creates the JsonRpcHttpClient bound to the given serviceUrl.
JsonRpcHttpClient(ObjectMapper, URL, Map<String, String>, boolean, boolean) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcHttpClient
Creates the JsonRpcHttpClient bound to the given serviceUrl.
JsonRpcHttpClient(URL) - Constructor for class com.googlecode.jsonrpc4j.JsonRpcHttpClient
Creates the JsonRpcHttpClient bound to the given serviceUrl.
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.
JsonRpcResponseErrorHandler - Enum in com.googlecode.jsonrpc4j.spring.rest
 
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<?>, boolean) - 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, 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.

L

logger - Variable in class com.googlecode.jsonrpc4j.JsonRpcClient
 

M

message - Variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 
METHOD - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
METHOD_NOT_FOUND - Static variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 
METHOD_PARAMS_INVALID - Static variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 
MultipleErrorResolver - Class in com.googlecode.jsonrpc4j
ErrorResolver that supports the use of multiple ErrorResolver used one after another until one is able to resolve the error.
MultipleErrorResolver(ErrorResolver...) - Constructor for class com.googlecode.jsonrpc4j.MultipleErrorResolver
Creates with the given ErrorResolvers, MultipleErrorResolver.addErrorResolver(ErrorResolver) can be called to add additional ErrorResolvers.
MultipleExceptionResolver - Class in com.googlecode.jsonrpc4j
ExceptionResolver that supports the use of multiple ExceptionResolver used one after another until one is able to resolve the Exception.
MultipleExceptionResolver(ExceptionResolver...) - Constructor for class com.googlecode.jsonrpc4j.MultipleExceptionResolver
MultipleInvocationListener - Class in com.googlecode.jsonrpc4j
InvocationListener that supports the use of multiple InvocationListeners called one after another.
MultipleInvocationListener(InvocationListener...) - Constructor for class com.googlecode.jsonrpc4j.MultipleInvocationListener

N

NAME - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
nextValue() - Method in class com.googlecode.jsonrpc4j.ReadContext
 
NULL - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 

O

OK - Static variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 
onBeforeRequestSent(JsonRpcClient, ObjectNode) - Method in interface com.googlecode.jsonrpc4j.JsonRpcClient.RequestListener
Called before a request is sent to the server end-point.
onBeforeResponseProcessed(JsonRpcClient, ObjectNode) - Method in interface com.googlecode.jsonrpc4j.JsonRpcClient.RequestListener
Called after a response has been returned and successfully parsed but before it has been processed and turned into java objects.
onComplete(T) - Method in interface com.googlecode.jsonrpc4j.JsonRpcCallback
Called if the remote invocation was successful.
onError(Throwable) - Method in interface com.googlecode.jsonrpc4j.JsonRpcCallback
Called if there was an error in the remove invocation.

P

PARAMS - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
PARSE_ERROR - Static variable in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 
parseArguments(Method, Object[]) - Static method in class com.googlecode.jsonrpc4j.ReflectionUtil
Parses the given arguments for the given method optionally turning them into named parameters.
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcClientProxyCreator
 
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
 
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
ProxyUtil - Class in com.googlecode.jsonrpc4j
Utilities for create client proxies.
ProxyUtil() - Constructor for class com.googlecode.jsonrpc4j.ProxyUtil
 

R

ReadContext - Class in com.googlecode.jsonrpc4j
 
readResponse(Class<T>, InputStream) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
Reads a JSON-PRC response from the server.
readResponse(Type, InputStream) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
Reads a JSON-PRC response from the server.
readResponse(Class<T>, InputStream, String) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
Reads a JSON-PRC response from the server.
readResponse(Type, JsonNode) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
 
ReflectionUtil - Class in com.googlecode.jsonrpc4j
Utilities for reflection.
ReflectionUtil() - Constructor for class com.googlecode.jsonrpc4j.ReflectionUtil
 
RequestIDGenerator - Interface in com.googlecode.jsonrpc4j
Request ID generator interface.
RequestInterceptor - Interface in com.googlecode.jsonrpc4j
Implementations of this interface are able to intercept Requests by throwing Exceptions.
resolveError(Throwable, Method, List<JsonNode>) - Method in enum com.googlecode.jsonrpc4j.AnnotationsErrorResolver
Resolves the error using the Throwable that was thrown by the given Method when passed the given arguments.
resolveError(Throwable, Method, List<JsonNode>) - Method in enum com.googlecode.jsonrpc4j.DefaultErrorResolver
Resolves the error using the Throwable that was thrown by the given Method when passed the given arguments.
resolveError(Throwable, Method, List<JsonNode>) - Method in interface com.googlecode.jsonrpc4j.ErrorResolver
Resolves the error using the Throwable that was thrown by the given Method when passed the given arguments.
resolveError(Throwable, Method, List<JsonNode>) - Method in class com.googlecode.jsonrpc4j.MultipleErrorResolver
Resolves the error using the Throwable that was thrown by the given Method when passed the given arguments.
resolveException(ObjectNode) - Method in enum com.googlecode.jsonrpc4j.DefaultExceptionResolver
Resolves the exception from the given json-rpc response ObjectNode.
resolveException(ObjectNode) - Method in interface com.googlecode.jsonrpc4j.ExceptionResolver
Resolves the exception from the given json-rpc response ObjectNode.
resolveException(ObjectNode) - Method in class com.googlecode.jsonrpc4j.MultipleExceptionResolver
Resolves the exception from the given json-rpc response ObjectNode.
RESULT - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
run() - Method in class com.googlecode.jsonrpc4j.StreamServer.Server

S

Server() - Constructor for class com.googlecode.jsonrpc4j.StreamServer.Server
 
setAdditionalJsonContent(Map<String, Object>) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
 
setAllowExtraParams(boolean) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Sets whether or not the server should allow superfluous parameters to method calls.
setAllowExtraParams(boolean) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
 
setAllowExtraParams(boolean) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
setAllowLessParams(boolean) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Sets whether or not the server should allow less parameters than required to method calls (passing null for missing params).
setAllowLessParams(boolean) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
 
setAllowLessParams(boolean) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
setApplicationContext(ApplicationContext) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcClientProxyCreator
 
setBackwardsCompatible(boolean) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Sets whether or not the server should be backwards compatible to JSON-RPC 1.0.
setBackwardsCompatible(boolean) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
 
setBackwardsCompatible(boolean) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
setBaseUrl(URL) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcClientProxyCreator
 
setConnectionProxy(Proxy) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
setConnectionProxy(Proxy) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
 
setConnectionTimeoutMillis(int) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
setConnectionTimeoutMillis(int) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
 
setContentType(String) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
setContentType(String) - Method in class com.googlecode.jsonrpc4j.JsonRpcServer
 
setContentType(String) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcClientProxyCreator
 
setContentType(String) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
setConvertedParameterTransformer(ConvertedParameterTransformer) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Sets the ConvertedParameterTransformer instance that can be used to mutate the deserialized arguments passed to the service method during invocation.
setConvertedParameterTransformer(ConvertedParameterTransformer) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
 
setConvertedParameterTransformer(ConvertedParameterTransformer) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
setErrorResolver(ErrorResolver) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Sets the ErrorResolver used for resolving errors.
setErrorResolver(ErrorResolver) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
 
setErrorResolver(ErrorResolver) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
setExceptionResolver(ExceptionResolver) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
 
setHeaders(Map<String, String>) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
setHeaders(Map<String, String>) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
 
setHostNameVerifier(HostnameVerifier) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
setHostNameVerifier(HostnameVerifier) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
 
setHttpStatusCodeProvider(HttpStatusCodeProvider) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Sets the HttpStatusCodeProvider instance to use for HTTP error results.
setHttpStatusCodeProvider(HttpStatusCodeProvider) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
 
setHttpStatusCodeProvider(HttpStatusCodeProvider) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
setInvocationListener(InvocationListener) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Sets the InvocationListener instance that can be used to provide feedback for capturing method-invocation statistics.
setInvocationListener(InvocationListener) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
 
setInvocationListener(InvocationListener) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
setMaxClientErrors(int) - Method in class com.googlecode.jsonrpc4j.StreamServer
 
setObjectMapper(ObjectMapper) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcClientProxyCreator
 
setObjectMapper(ObjectMapper) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
 
setObjectMapper(ObjectMapper) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
setReadTimeoutMillis(int) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
setReadTimeoutMillis(int) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
 
setRegisterTraceInterceptor(boolean) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
See RemoteExporter.setRegisterTraceInterceptor(boolean)
setRegisterTraceInterceptor(boolean) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
See RemoteExporter.setRegisterTraceInterceptor(boolean)
setRequestIDGenerator(RequestIDGenerator) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
setRequestInterceptor(RequestInterceptor) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
setRequestListener(JsonRpcClient.RequestListener) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
setRethrowExceptions(boolean) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
Sets whether or not the server should re-throw exceptions.
setRethrowExceptions(boolean) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter
Deprecated.
 
setRethrowExceptions(boolean) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
setScanPackage(String) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcClientProxyCreator
 
setSeparator(char) - Method in class com.googlecode.jsonrpc4j.JsonRpcMultiServer
 
setServiceUrl(URL) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
setServiceUrl(URL) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
 
setShouldLogInvocationErrors(boolean) - Method in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
If true, then when errors arise in the invocation of JSON-RPC services, the error will be logged together with the underlying stack trace.
setShouldLogInvocationErrors(boolean) - Method in class com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceImplExporter
 
setSSLContext(SSLContext) - Static method in class com.googlecode.jsonrpc4j.JsonRpcHttpAsyncClient
Set the SSLContext to be used to create SSL connections.
setSslContext(SSLContext) - Method in class com.googlecode.jsonrpc4j.JsonRpcHttpClient
 
setSslContext(SSLContext) - Method in class com.googlecode.jsonrpc4j.spring.rest.JsonRpcRestClient
 
start() - Method in class com.googlecode.jsonrpc4j.StreamServer
Starts the server.
stop() - Method in class com.googlecode.jsonrpc4j.StreamServer
Stops the server thread.
StreamServer - Class in com.googlecode.jsonrpc4j
A multi-threaded streaming server that uses JSON-RPC over sockets.
StreamServer(JsonRpcBasicServer, int, ServerSocket) - Constructor for class com.googlecode.jsonrpc4j.StreamServer
Creates a StreamServer with the given max number of threads using the given ServerSocket to listen for client connections.
StreamServer.Server - Class in com.googlecode.jsonrpc4j
Server thread.

T

toString() - Method in class com.googlecode.jsonrpc4j.ErrorData
 
toString() - Method in class com.googlecode.jsonrpc4j.ErrorResolver.JsonError
 
transformConvertedParameters(Object, Object[]) - Method in interface com.googlecode.jsonrpc4j.ConvertedParameterTransformer
Returns the parameters that will be passed to the method on invocation.

U

Util - Class in com.googlecode.jsonrpc4j
 
Util() - Constructor for class com.googlecode.jsonrpc4j.Util
 

V

valueOf(String) - Static method in enum com.googlecode.jsonrpc4j.AnnotationsErrorResolver
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.googlecode.jsonrpc4j.DefaultErrorResolver
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.googlecode.jsonrpc4j.DefaultExceptionResolver
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.googlecode.jsonrpc4j.DefaultHttpStatusCodeProvider
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.googlecode.jsonrpc4j.spring.rest.JsonRpcResponseErrorHandler
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.googlecode.jsonrpc4j.AnnotationsErrorResolver
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.googlecode.jsonrpc4j.DefaultErrorResolver
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.googlecode.jsonrpc4j.DefaultExceptionResolver
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.googlecode.jsonrpc4j.DefaultHttpStatusCodeProvider
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.googlecode.jsonrpc4j.spring.rest.JsonRpcResponseErrorHandler
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 

W

WEB_PARAM_ANNOTATION_CLASS_LOADER - Static variable in class com.googlecode.jsonrpc4j.JsonRpcBasicServer
 
willInvoke(Method, List<JsonNode>) - Method in interface com.googlecode.jsonrpc4j.InvocationListener
This method will be invoked prior to a JSON-RPC service being invoked.
willInvoke(Method, List<JsonNode>) - Method in class com.googlecode.jsonrpc4j.MultipleInvocationListener
This method will be invoked prior to a JSON-RPC service being invoked.
writeNotification(String, Object, OutputStream) - Method in class com.googlecode.jsonrpc4j.JsonRpcClient
Writes a JSON-RPC notification to the given OutputStream.
A B C D E G H I J L M N O P R S T U V W 
Skip navigation links