Package com.thetransactioncompany.jsonrpc2
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 dynamic web applications in the spirit of Ajax and Web 2.0.
This package implements version 2.0 of the protocol, except batching / multicall. This feature is deliberately left out as it tends to confuse users (judging by posts in the JSON-RPC forum).
See the JSON-RPC 2.0 specification for more information or write to the user group if you have questions.
- Author:
- Vladimir Dzhuvinov
-
Class Summary Class Description JSONRPC2Message The base abstract class for JSON-RPC 2.0 requests, notifications and responses.JSONRPC2Notification Represents a JSON-RPC 2.0 notification.JSONRPC2Parser Parses JSON-RPC 2.0 request, notification and response messages.JSONRPC2Request Represents a JSON-RPC 2.0 request.JSONRPC2Response Represents a JSON-RPC 2.0 response. -
Enum Summary Enum Description JSONRPC2ParamsType Enumeration of the three parameter types in JSON-RPC 2.0 requests and notifications.JSONRPC2Parser.Option JSON-RPC 2.0 parse options. -
Exception Summary Exception Description JSONRPC2Error Represents a JSON-RPC 2.0 error.JSONRPC2ParseException Thrown to indicate an exception during the parsing of a JSON-RPC 2.0 message string.