Package com.thetransactioncompany.jsonrpc2

Classes to represent, parse and serialise JSON-RPC 2.0 requests, notifications and responses.

See:
          Description

Class Summary
JSONRPC2Message The base abstract class for JSON-RPC 2.0 requests, notifications and responses.
JSONRPC2Notification Represents a JSON-RPC 2.0 notification.
JSONRPC2ParamsType Defines the three parameter types constants for JSON-RPC 2.0 requests and notifications.
JSONRPC2Request Represents a JSON-RPC 2.0 request.
JSONRPC2Response Represents a JSON-RPC 2.0 response.
 

Exception Summary
JSONRPC2Error Represents a JSON-RPC 2.0 error that occured during the processing of a request.
JSONRPC2ParseException Thrown to indicate an exception during the parsing of a JSON-RPC 2.0 message string.
 

Package com.thetransactioncompany.jsonrpc2 Description

Classes to represent, parse and serialise JSON-RPC 2.0 requests, notifications and responses.

JSON-RPC is a protocol for remote procedure calls (RPC) using JSON - encoded requests and responses. It can be easily relayed over HTTP and is of JavaScript origin, making it ideal for use in interactive web applications (popularly known as AJAX or Web 2.0).

This package implements version 2.0 of the protocol, with the exception of batching/multicall. This feature was deliberately left out, as it tends to confuse users (judging by posts in the JSON-RPC forum). The JSON-RPC 2.0 specification and user group forum can be found here.

Package dependencies: The classes in this package rely on the org.json.simple and org.json.simple.parser packages (version 1.1 and compabile) for JSON encoding and decoding. You can obtain them as a single JAR file from the JSON-simple website.

Version:
1.10 (2010-03-15)
Author:
Vladimir Dzhuvinov


Copyright © 2009-2010 Vladimir Dzhuvinov. All Rights Reserved.