A C E G H I J M N O P S T V

A

ARRAY - Static variable in class com.thetransactioncompany.jsonrpc2.JSONRPC2ParamsType
The parameters are packed as a JSON array.
ARRAY_CONST - Static variable in class com.thetransactioncompany.jsonrpc2.JSONRPC2ParamsType
The integer constant for the "ARRAY" parameters type.

C

com.thetransactioncompany.jsonrpc2 - package com.thetransactioncompany.jsonrpc2
Classes to represent, parse and serialise JSON-RPC 2.0 requests, notifications and responses.
com.thetransactioncompany.jsonrpc2.util - package com.thetransactioncompany.jsonrpc2.util
Utility classes for typed retrieval of JSON-RPC 2.0 request parameters on the server side.

E

ensureEnumString(String, String[], boolean) - Static method in class com.thetransactioncompany.jsonrpc2.util.ParamsRetriever
Throws a JSONRPC2Error.INVALID_PARAMS exception if the input string doesn't match a value in the specified string array.
ensureEnumString(String, Class<T>, boolean) - Static method in class com.thetransactioncompany.jsonrpc2.util.ParamsRetriever
Throws a JSONRPC2Error.INVALID_PARAMS exception if the input string doesn't match a constant name in the specified enumeration class.
ensureParameter(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Throws a JSONRPC2Error.INVALID_PARAMS exception if there is no parameter by the specified name.
ensureParameter(String, Class) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Throws a JSONRPC2Error.INVALID_PARAMS exception if there is no parameter by the specified name, its value is null, or its type doesn't map to the specified.
ensureParameter(String, Class, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Throws a JSONRPC2Error.INVALID_PARAMS exception if there is no parameter by the specified name or its type doesn't map to the specified.
ensureParameter(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Throws a JSONRPC2Error.INVALID_PARAMS exception if there is no parameter at the specified position.
ensureParameter(int, Class) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Throws a JSONRPC2Error.INVALID_PARAMS exception if there is no parameter at the specified position, its value is null, or its type doesn't map to the specified.
ensureParameter(int, Class, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Throws a JSONRPC2Error.INVALID_PARAMS exception if there is no parameter at the specified position or its type doesn't map to the specified.
ensureParameters(String[]) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Throws a JSONRPC2Error.INVALID_PARAMS if the specified names aren't contained in the parameters, or names outside the specified are contained.
ensureParameters(String[], String[]) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Throws a JSONRPC2Error.INVALID_PARAMS if the specified mandatory names aren't contained in the parameters, or names outside the specified mandatory and optional are contained.
equals(Object) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2ParamsType
Indicates wheter the provided object is equal to this parameters type.

G

get(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified parameter which can be of any type.
get(String, Class) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified parameter which must map to the provided class (use the appropriate wrapper class for primitive types).
get(String, Class, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified parameter which must map to the provided class (use the appropriate wrapper class for primitive types).
get(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified parameter which can be of any type.
get(int, Class) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified parameter which must map to the provided class (use the appropriate wrapper class for primitive types).
get(int, Class, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified parameter which must map to the provided class (use the appropriate wrapper class for primitive types).
getBoolean(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified boolean (maps from JSON true/false) parameter.
getBoolean(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified boolean (maps from JSON true/false) parameter.
getBooleanArray(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified boolean array (maps from JSON array of true/false values) parameter.
getBooleanArray(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified boolean array (maps from JSON array of true/false values) parameter.
getCode() - Method in exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
Gets the JSON-RPC 2.0 error code.
getData() - Method in exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
Gets the JSON-RPC 2.0 error data.
getDouble(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified double parameter.
getDouble(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified double parameter.
getDoubleArray(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified double array (maps from JSON array of fraction numbers) parameter.
getDoubleArray(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified double array (maps from JSON array of fraction numbers) parameter.
getEnum(String, Class<T>) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified enumerated parameter (from a JSON string that has a predefined set of possible values).
getEnum(String, Class<T>, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified enumerated parameter (from a JSON string that has a predefined set of possible values), allowing for a case insensitive match.
getEnum(int, Class<T>) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified enumerated parameter (from a JSON string that has a predefined set of possible values).
getEnum(int, Class<T>, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified enumerated parameter (from a JSON string that has a predefined set of possible values), allowing for a case insensitive match.
getEnumString(String, String[]) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified enumerated string parameter.
getEnumString(String, String[], boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified enumerated string parameter, allowing for a case insenstive match.
getEnumString(int, String[]) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified enumerated string parameter.
getEnumString(int, String[], boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified enumerated string parameter, allowing for a case insenstive match.
getError() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
Gets the error object indicating the cause of the request failure.
getFloat(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified float parameter.
getFloat(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified float parameter.
getFloatArray(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified float array (maps from JSON array of fraction numbers) parameter.
getFloatArray(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified float array (maps from JSON array of fraction numbers) parameter.
getID() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Gets the request identifier.
getID() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
Gets the request identifier that is echoed back to the caller.
getInt(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified integer parameter.
getInt(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified integer parameter.
getIntArray(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified integer array (maps from JSON array of integer numbers) parameter.
getIntArray(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified integer array (maps from JSON array of integer numbers) parameter.
getList(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified list (maps from JSON array) parameter.
getList(String, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified list (maps from JSON array) parameter.
getList(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified list (maps from JSON array) parameter.
getList(int, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified list (maps from JSON array) parameter.
getLong(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified long parameter.
getLong(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified long parameter.
getLongArray(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified long array (maps from JSON array of integer numbers) parameter.
getLongArray(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified long array (maps from JSON array of integer numbers) parameter.
getMap(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified map (maps from JSON object) parameter.
getMap(String, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified map (maps from JSON object) parameter.
getMap(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified map (maps from JSON object) parameter.
getMap(int, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified map (maps from JSON object) parameter.
getMethod() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
Gets the name of the requested method.
getMethod() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Gets the name of the requested method.
getName() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2ParamsType
Retrieves the name for this parameters type.
getNames() - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Returns the names of all available parameters.
getOpt(String, Class, Object) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional parameter which must map to the provided class (use the appropriate wrapper class for primitive types).
getOpt(String, Class, boolean, Object) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional parameter which must map to the provided class (use the appropriate wrapper class for primitive types).
getOpt(int, Class, Object) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional parameter which must map to the provided class (use the appropriate wrapper class for primitive types).
getOpt(int, Class, boolean, Object) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional parameter which must map to the provided class (use the appropriate wrapper class for primitive types).
getOptBoolean(String, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional boolean (maps from JSON true/false) parameter.
getOptBoolean(int, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional boolean (maps from JSON true/false) parameter.
getOptBooleanArray(String, boolean[]) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional boolean array (maps from JSON array of true/false values) parameter.
getOptBooleanArray(int, boolean[]) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional boolean array (maps from JSON array of true/false values) parameter.
getOptDouble(String, double) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional double parameter.
getOptDouble(int, double) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional double parameter.
getOptDoubleArray(String, double[]) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional double array (maps from JSON array of fraction numbers) parameter.
getOptDoubleArray(int, double[]) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional double array (maps from JSON array of fraction numbers) parameter.
getOptEnum(String, Class<T>, T) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional enumerated parameter (from a JSON string that has a predefined set of possible values).
getOptEnum(String, Class<T>, T, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional enumerated parameter (from a JSON string that has a predefined set of possible values), allowing for a case insenstive match.
getOptEnum(int, Class<T>, String) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional enumerated parameter (from a JSON string that has a predefined set of possible values).
getOptEnum(int, Class<T>, String, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional enumerated parameter (from a JSON string that has a predefined set of possible values), allowing for a case insenstive match.
getOptEnumString(String, String[], String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional enumerated string parameter.
getOptEnumString(String, String[], String, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional enumerated string parameter, allowing for a case insenstive match.
getOptEnumString(int, String[], String) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional enumerated string parameter.
getOptEnumString(int, String[], String, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional enumerated string parameter, allowing for a case insenstive match.
getOptFloat(String, float) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional float parameter.
getOptFloat(int, float) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional float parameter.
getOptFloatArray(String, float[]) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional float array (maps from JSON array of fraction numbers) parameter.
getOptFloatArray(int, float[]) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional float array (maps from JSON array of fraction numbers) parameter.
getOptInt(String, int) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional integer parameter.
getOptInt(int, int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional integer parameter.
getOptIntArray(String, int[]) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional integer array (maps from JSON array of integer numbers) parameter.
getOptIntArray(int, int[]) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional integer array (maps from JSON array of integer numbers) parameter.
getOptList(String, List) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional list (maps from JSON array) parameter.
getOptList(String, boolean, List) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional list (maps from JSON array) parameter.
getOptList(int, List) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional list (maps from JSON array) parameter.
getOptList(int, boolean, List) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional list (maps from JSON array) parameter.
getOptLong(String, long) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional long parameter.
getOptLong(int, long) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional long parameter.
getOptLongArray(String, long[]) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional long array (maps from JSON array of integer numbers) parameter.
getOptLongArray(int, long[]) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional long array (maps from JSON array of integer numbers) parameter.
getOptMap(String, Map) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional map (maps from JSON object) parameter.
getOptMap(String, boolean, Map) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional map (maps from JSON object) parameter.
getOptMap(int, Map) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional map (maps from JSON object) parameter.
getOptMap(int, boolean, Map) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional map (maps from JSON object) parameter.
getOptString(String, String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional string parameter.
getOptString(String, boolean, String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional string parameter.
getOptString(int, String) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional string parameter.
getOptString(int, boolean, String) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional string parameter.
getOptStringArray(String, String[]) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional string array (maps from JSON array of strings) parameter.
getOptStringArray(String, boolean, String[]) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified optional string array (maps from JSON array of strings) parameter.
getOptStringArray(int, String[]) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional string array (maps from JSON array of strings) parameter.
getOptStringArray(int, boolean, String[]) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified optional string array (maps from JSON array of strings) parameter.
getParams() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
Gets the notification parameters.
getParams() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Gets the request parameters.
getParamsType() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
Gets the parameters type (JSONRPC2ParamsType.ARRAY, JSONRPC2ParamsType.OBJECT or JSONRPC2ParamsType.NO_PARAMS).
getParamsType() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Gets the parameters type (JSONRPC2ParamsType.ARRAY, JSONRPC2ParamsType.OBJECT or JSONRPC2ParamsType.NO_PARAMS).
getResult() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
Gets the result of the request.
getString(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified string parameter.
getString(String, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified string parameter.
getString(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified string parameter.
getString(int, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified string parameter.
getStringArray(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified string array (maps from JSON array of strings) parameter.
getStringArray(String, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Retrieves the specified string array (maps from JSON array of strings) parameter.
getStringArray(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified string array (maps from JSON array of strings) parameter.
getStringArray(int, boolean) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Retrieves the specified string array (maps from JSON array of strings) parameter.
getUnparsableString() - Method in exception com.thetransactioncompany.jsonrpc2.JSONRPC2ParseException
Gets original string that caused the parse exception (if specified).

H

hasParameter(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Returns true if a parameter by the specified name exists, otherwise false.
hasParameter(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Returns true a parameter at the specified position exists, otherwise false.

I

indicatesSuccess() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
A convinience method to check if the response indicates success or failure of the request.
INTERNAL_ERROR - Static variable in exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
Internal JSON-RPC 2.0 error (-32603)
intValue() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2ParamsType
Retrieves the integer constant for this parameters type.
INVALID_PARAMS - Static variable in exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
Invalid parameters error (-32602)
INVALID_REQUEST - Static variable in exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
Invalid JSON-RPC 2.0 request error (-32600)

J

JSONRPC2Error - Exception in com.thetransactioncompany.jsonrpc2
Represents a JSON-RPC 2.0 error that occured during the processing of a request.
JSONRPC2Error(int, String) - Constructor for exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
Creates a new JSON-RPC 2.0 error with the specified code and message.
JSONRPC2Error(int, String, Object) - Constructor for exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
Creates a new JSON-RPC 2.0 error with the specified code, message and data.
JSONRPC2Message - Class in com.thetransactioncompany.jsonrpc2
The base abstract class for JSON-RPC 2.0 requests, notifications and responses.
JSONRPC2Message() - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Message
 
JSONRPC2Notification - Class in com.thetransactioncompany.jsonrpc2
Represents a JSON-RPC 2.0 notification.
JSONRPC2Notification(String) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
Constructs a new JSON-RPC 2.0 notification with no parameters.
JSONRPC2Notification(String, List) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
Constructs a new JSON-RPC 2.0 notification with JSON array parameters.
JSONRPC2Notification(String, Map) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
Constructs a new JSON-RPC 2.0 notification JSON object parameters.
JSONRPC2ParamsType - Class in com.thetransactioncompany.jsonrpc2
Defines the three parameter types constants for JSON-RPC 2.0 requests and notifications.
JSONRPC2ParseException - Exception in com.thetransactioncompany.jsonrpc2
Thrown to indicate an exception during the parsing of a JSON-RPC 2.0 message string.
JSONRPC2ParseException(String) - Constructor for exception com.thetransactioncompany.jsonrpc2.JSONRPC2ParseException
Creates a new parse exception with the specified message.
JSONRPC2ParseException(String, String) - Constructor for exception com.thetransactioncompany.jsonrpc2.JSONRPC2ParseException
Creates a new parse exception with the specified message and the original string that didn't parse.
JSONRPC2Request - Class in com.thetransactioncompany.jsonrpc2
Represents a JSON-RPC 2.0 request.
JSONRPC2Request(String, Object) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Constructs a new JSON-RPC 2.0 request with no parameters.
JSONRPC2Request(String, List, Object) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Constructs a new JSON-RPC 2.0 request with JSON array parameters.
JSONRPC2Request(String, Map, Object) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Constructs a new JSON-RPC 2.0 request with JSON object parameters.
JSONRPC2Response - Class in com.thetransactioncompany.jsonrpc2
Represents a JSON-RPC 2.0 response.
JSONRPC2Response(Object, Object) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
Creates a new JSON-RPC 2.0 response to a successful request.
JSONRPC2Response(JSONRPC2Error, Object) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
Creates a new JSON-RPC 2.0 response to a failed request.

M

main(String[]) - Static method in exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
 
METHOD_NOT_FOUND - Static variable in exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
Method not found error (-32601)

N

NamedParamsRetriever - Class in com.thetransactioncompany.jsonrpc2.util
Utility class for retrieving JSON-RPC 2.0 named parameters (key-value pairs packed into a JSON Object).
NamedParamsRetriever(Map) - Constructor for class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Creates a new named parameters retriever from the specified key-value map.
NO_PARAMS - Static variable in class com.thetransactioncompany.jsonrpc2.JSONRPC2ParamsType
No parameters.
NO_PARAMS_CONST - Static variable in class com.thetransactioncompany.jsonrpc2.JSONRPC2ParamsType
The integer constant for the "NO_PARAMS" parameters type.

O

OBJECT - Static variable in class com.thetransactioncompany.jsonrpc2.JSONRPC2ParamsType
The parameters are packed as a JSON object.
OBJECT_CONST - Static variable in class com.thetransactioncompany.jsonrpc2.JSONRPC2ParamsType
The integer constant for the "OBJECT" parameters type.

P

ParamsRetriever - Class in com.thetransactioncompany.jsonrpc2.util
The base abstract class for the JSON-RPC 2.0 parameter retrievers.
ParamsRetriever() - Constructor for class com.thetransactioncompany.jsonrpc2.util.ParamsRetriever
 
parse(String) - Static method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Message
Provides common parsing of JSON-RPC 2.0 requests, notifications and responses.
parse(String) - Static method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
Parses a JSON-RPC 2.0 notification string.
parse(String) - Static method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Parses a JSON-RPC 2.0 request string.
parse(String) - Static method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
Parses a JSON-RPC 2.0 response string.
PARSE_ERROR - Static variable in exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
JSON parse error (-32700)
PositionalParamsRetriever - Class in com.thetransactioncompany.jsonrpc2.util
Utility class for retrieving JSON-RPC 2.0 positional parameters (packed into a JSON Array).
PositionalParamsRetriever(List) - Constructor for class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Creates a new positional parameters retriever from the specified value list.

S

setError(JSONRPC2Error) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
Indicates a failed JSON-RPC 2.0 request and sets the error details.
setID(Object) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Sets the request identifier (ID).
setID(Object) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
Sets the request identifier echoed back to the caller.
setMethod(String) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
Sets the name of the requested method.
setMethod(String) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Sets the name of the requested method.
setParams(Object) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
Sets the notification parameters.
setParams(Object) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Sets the request parameters.
setResult(Object) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
Indicates a successful JSON-RPC 2.0 request and sets the result.
size() - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
Returns the number of available named parameters.
size() - Method in class com.thetransactioncompany.jsonrpc2.util.ParamsRetriever
Returns the parameter count.
size() - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
Returns the number of available positional parameters.

T

toJSON() - Method in exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
Gets a JSON representation of the JSON-RPC 2.0 error.
toJSON() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Message
Gets a JSON object representing the message.
toJSON() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
Gets a JSON representation of the JSON-RPC 2.0 notification.
toJSON() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
Gets a JSON representation of the JSON-RPC 2.0 request.
toJSON() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
Gets a JSON representation of the JSON-RPC 2.0 response.
toString() - Method in exception com.thetransactioncompany.jsonrpc2.JSONRPC2Error
Serialises the error object to a JSON string.
toString() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Message
Serialises the message to a JSON string.
toString() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2ParamsType
Retrieves a string representing this parameters type.

V

valueOf(int) - Static method in class com.thetransactioncompany.jsonrpc2.JSONRPC2ParamsType
Retrieves the parameters type with the specified integer constant.

A C E G H I J M N O P S T V

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