- get(String) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
-
Retrieves the specified parameter which can be of any type.
- get(String, Class<T>) - 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<T>, 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<T>) - 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<T>, 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.
- getCauseType() - Method in exception com.thetransactioncompany.jsonrpc2.JSONRPC2ParseException
-
Gets the parse exception cause type.
- 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 numeric parameter as a double
.
- getDouble(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Retrieves the specified numeric parameter as a double
.
- 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.
- getEnumStringMatch(String, String[], boolean) - Static method in class com.thetransactioncompany.jsonrpc2.util.ParamsRetriever
-
Matches a string against an array of acceptable values.
- getEnumStringMatch(String, Class<T>, boolean) - Static method in class com.thetransactioncompany.jsonrpc2.util.ParamsRetriever
-
Matches a string against an enumeration of acceptable values.
- 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 numeric parameter as a float
.
- getFloat(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Retrieves the specified numeric parameter as a float
.
- 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 numeric parameter as an int
.
- getInt(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Retrieves the specified numeric parameter as an int
.
- 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 numeric parameter as a long
.
- getLong(int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Retrieves the specified numeric parameter as a long
.
- 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.
- getNamedParams() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
-
Gets the named parameters.
- getNamedParams() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
-
Gets the named parameters.
- getNames() - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
-
Returns the names of all available parameters.
- getNonStdAttribute(String) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Message
-
Retrieves a non-standard JSON-RPC 2.0 message attribute.
- getNonStdAttributes() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Message
-
Retrieves the non-standard JSON-RPC 2.0 message attributes.
- getOpt(String, Class<T>, T) - 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<T>, boolean, T) - 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<T>, T) - 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<T>, boolean, T) - 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.
- getOptDouble(String, double) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
-
Retrieves the specified optional numeric parameter as a
double
.
- getOptDouble(int, double) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Retrieves the specified optional numeric parameter as a
double
.
- 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 numeric parameter as a
float
.
- getOptFloat(int, float) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Retrieves the specified optional numeric parameter as a
float
.
- getOptInt(String, int) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
-
Retrieves the specified optional numeric parameter as an
int
.
- getOptInt(int, int) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Retrieves the specified optional numeric parameter as an
int
.
- getOptList(String, List<Object>) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
-
Retrieves the specified optional list (maps from JSON array)
parameter.
- getOptList(String, boolean, List<Object>) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
-
Retrieves the specified optional list (maps from JSON array)
parameter.
- getOptList(int, List<Object>) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Retrieves the specified optional list (maps from JSON array)
parameter.
- getOptList(int, boolean, List<Object>) - 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 numeric parameter as a
long
.
- getOptLong(int, long) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Retrieves the specified optional numeric parameter as a
long
.
- getOptMap(String, Map<String, Object>) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
-
Retrieves the specified optional map (maps from JSON object)
parameter.
- getOptMap(String, boolean, Map<String, Object>) - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
-
Retrieves the specified optional map (maps from JSON object)
parameter.
- getOptMap(int, Map<String, Object>) - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Retrieves the specified optional map (maps from JSON object)
parameter.
- getOptMap(int, boolean, Map<String, Object>) - 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
-
Deprecated.
- getParams() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
-
Deprecated.
- getParams() - Method in class com.thetransactioncompany.jsonrpc2.util.NamedParamsRetriever
-
Gets the named parameters for this retriever.
- getParams() - Method in class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Gets the positional parameters for this retriever.
- getParamsType() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
-
- getParamsType() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
-
- getPositionalParams() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
-
Gets the positional (JSON array) parameters.
- getPositionalParams() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
-
Gets the positional (JSON array) parameters.
- 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).
- JSON - Static variable in exception com.thetransactioncompany.jsonrpc2.JSONRPC2ParseException
-
Indicates a parse exception caused by invalid JSON.
- JSONRPC2Error - Exception in com.thetransactioncompany.jsonrpc2
-
Represents a JSON-RPC 2.0 error that occurred 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<Object>) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
-
Constructs a new JSON-RPC 2.0 notification with positional (JSON
array) parameters.
- JSONRPC2Notification(String, Map<String, Object>) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
-
Constructs a new JSON-RPC 2.0 notification with named (JSON object)
parameters.
- JSONRPC2ParamsType - Enum in com.thetransactioncompany.jsonrpc2
-
Enumeration of the three parameter types in 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.
- JSONRPC2ParseException(String, int, String) - Constructor for exception com.thetransactioncompany.jsonrpc2.JSONRPC2ParseException
-
Creates a new parse exception with the specified message, cause type
and the original string that didn't parse.
- JSONRPC2Parser - Class in com.thetransactioncompany.jsonrpc2
-
Parses JSON-RPC 2.0 request, notification and response messages.
- JSONRPC2Parser() - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Creates a new JSON-RPC 2.0 message parser.
- JSONRPC2Parser(boolean) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Creates a new JSON-RPC 2.0 message parser.
- JSONRPC2Parser(boolean, boolean) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Creates a new JSON-RPC 2.0 message parser.
- JSONRPC2Parser(boolean, boolean, boolean) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Creates a new JSON-RPC 2.0 message parser.
- 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>, Object) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
-
Constructs a new JSON-RPC 2.0 request with positional (JSON array)
parameters.
- JSONRPC2Request(String, Map<String, Object>, Object) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
-
Constructs a new JSON-RPC 2.0 request with named (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(Object) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
-
Creates a new JSON-RPC 2.0 response to a successful request which
result is null
.
- JSONRPC2Response(JSONRPC2Error, Object) - Constructor for class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
-
Creates a new JSON-RPC 2.0 response to a failed request.
- 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, boolean, boolean) - 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, boolean) - Static method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
-
Parses a JSON-RPC 2.0 notification string.
- parse(String, boolean, boolean) - Static method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Notification
-
Parses a JSON-RPC 2.0 notification string.
- parse(String, boolean, boolean, boolean) - 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, boolean) - Static method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
-
Parses a JSON-RPC 2.0 request string.
- parse(String, boolean, boolean) - Static method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Request
-
Parses a JSON-RPC 2.0 request string.
- parse(String, boolean, boolean, boolean) - 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(String, boolean) - Static method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
-
Parses a JSON-RPC 2.0 response string.
- parse(String, boolean, boolean) - Static method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Response
-
Parses a JSON-RPC 2.0 response string.
- parse(String, boolean, boolean, boolean) - 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).
- parseJSONRPC2Message(String) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Provides common parsing of JSON-RPC 2.0 requests, notifications
and responses.
- parseJSONRPC2Notification(String) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Parses a JSON-RPC 2.0 notification string.
- parseJSONRPC2Request(String) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Parses a JSON-RPC 2.0 request string.
- parseJSONRPC2Response(String) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Parses a JSON-RPC 2.0 response string.
- parseMessage(String) - Static method in class com.thetransactioncompany.jsonrpc2.examples.Example2
-
Parses a JSON-RPC 2.0 message and determines its type
- parseNonStdAttributes(boolean) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Specifies whether to parse non-standard attributes found in JSON-RPC
2.0 messages.
- parsesNonStdAttributes() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Returns true
if non-standard attributes in JSON-RPC 2.0
messages are parsed.
- PositionalParamsRetriever - Class in com.thetransactioncompany.jsonrpc2.util
-
Utility class for retrieving JSON-RPC 2.0 positional parameters (packed into
a JSON Array).
- PositionalParamsRetriever(List<Object>) - Constructor for class com.thetransactioncompany.jsonrpc2.util.PositionalParamsRetriever
-
Creates a new positional parameters retriever from the specified
value list.
- preserveOrder(boolean) - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Controls the preservation of JSON object member order in parsed
JSON-RPC 2.0 messages.
- preservesOrder() - Method in class com.thetransactioncompany.jsonrpc2.JSONRPC2Parser
-
Returns true
if the order of JSON object members in parsed
JSON-RPC 2.0 messages is preserved, else false
.
- PROTOCOL - Static variable in exception com.thetransactioncompany.jsonrpc2.JSONRPC2ParseException
-
Indicates a parse exception caused by a JSON message not conforming
to the JSON-RPC 2.0 protocol.