A C E G H I J M N P R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractRequest<ParamType,IdType> - Class in com.github.jinahya.jsonrpc.bind.v1
-
An abstract class for requests and notifications.
- AbstractRequest() - Constructor for class com.github.jinahya.jsonrpc.bind.v1.AbstractRequest
-
Creates a new instance.
C
- CODE_INTERNAL_ERROR - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The code value for internal error meaning an internal JSON-RPC error.
- CODE_INVALID_PARAMS - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The code value for invalid params meaning invalid parameter(s).
- CODE_INVALID_REQUEST - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The code value for invalid request meaning the JSON sent is not a valid request object.
- CODE_METHOD_NOT_FOUND - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The code value for method not found meaning the method does not exist nor available.
- CODE_PARSE_ERROR - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The code value for parse error meaning an invalid json received by the server or an error occurred on the server while parsing the JSON text.
- com.github.jinahya.jsonrpc.bind.v1 - package com.github.jinahya.jsonrpc.bind.v1
-
Defines classes for binding objects defined in JSON-RPC 1.0 Specification.
- com.github.jinahya.jsonrpc.bind.v2 - package com.github.jinahya.jsonrpc.bind.v2
-
Defines classes for binding objects defined in JSON-RPC 2.0 Specification.
- copyIdFrom(Identifiable<? extends IdType>) - Method in class com.github.jinahya.jsonrpc.bind.v1.Identifiable
-
Copies specified object's current value of "id" property to this object.
- copyIdFrom(JsonrpcObject<? extends IdType>) - Method in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
Copies specified object's current value of "id" property to this object.
- copyIdTo(Identifiable<? super IdType>) - Method in class com.github.jinahya.jsonrpc.bind.v1.Identifiable
-
Copies this object's current value of "id" property to specified object.
- copyIdTo(JsonrpcObject<? super IdType>) - Method in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
Copies this object's current value of "id" property to specified object.
E
- equals(Object) - Method in class com.github.jinahya.jsonrpc.bind.v1.AbstractRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.github.jinahya.jsonrpc.bind.v1.Identifiable
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.github.jinahya.jsonrpc.bind.v2.RequestObject
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
Indicates whether some other object is "equal to" this one.
- ErrorObject() - Constructor for class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
Creates a new instance.
G
- getCode() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
Returns the current value of "code" property.
- getData() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
Returns the current value of "data" property.
- getError() - Method in class com.github.jinahya.jsonrpc.bind.v1.Response
-
Returns the current value of "error" property.
- getError() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Returns the current value of "error" property.
- getId() - Method in class com.github.jinahya.jsonrpc.bind.v1.Identifiable
-
Returns the current value of "id" property.
- getId() - Method in class com.github.jinahya.jsonrpc.bind.v1.Request
-
Returns the current value of "id" property.
- getId() - Method in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
Returns the current value of "id" property.
- getJsonrpc() - Method in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
Returns the current value of "jsonrpc" property.
- getMessage() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
Returns the current value of "message" property.
- getMethod() - Method in class com.github.jinahya.jsonrpc.bind.v1.AbstractRequest
-
Returns the current value of "method" property.
- getMethod() - Method in class com.github.jinahya.jsonrpc.bind.v2.RequestObject
-
Returns the current value of "method" property.
- getParams() - Method in class com.github.jinahya.jsonrpc.bind.v1.AbstractRequest
-
Returns the current value of "params" property.
- getParams() - Method in class com.github.jinahya.jsonrpc.bind.v2.RequestObject
-
Returns the current value of "params" property.
- getResult() - Method in class com.github.jinahya.jsonrpc.bind.v1.Response
-
Returns the current value of "result" property.
- getResult() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Returns the current value of "result" property.
H
- hashCode() - Method in class com.github.jinahya.jsonrpc.bind.v1.AbstractRequest
-
Returns a hash code value for the object.
- hashCode() - Method in class com.github.jinahya.jsonrpc.bind.v1.Identifiable
-
Returns a hash code value for the object.
- hashCode() - Method in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
Returns a hash code value for the object.
- hashCode() - Method in class com.github.jinahya.jsonrpc.bind.v2.RequestObject
-
Returns a hash code value for the object.
- hashCode() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
Returns a hash code value for the object.
- hashCode() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Returns a hash code value for the object.
I
- Identifiable<IdType> - Class in com.github.jinahya.jsonrpc.bind.v1
-
An abstract class for binding object with "id" property.
- Identifiable() - Constructor for class com.github.jinahya.jsonrpc.bind.v1.Identifiable
-
Creates a new instance.
- isErrorNull() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Indicates whether the current value of "error" property is semantically
null. - isIdEitherStringNumberOfNull() - Method in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
Indicates whether the current value of "id" property is, semantically, either
string,number, ornull. - isIdNull() - Method in class com.github.jinahya.jsonrpc.bind.v1.Identifiable
-
Indicates whether the current value of "id" property is semantically
null. - isIdNull() - Method in class com.github.jinahya.jsonrpc.bind.v1.Notification
-
Indicates whether the current value of "id" property is semantically
null. - isIdNull() - Method in class com.github.jinahya.jsonrpc.bind.v1.Request
-
Indicates whether the current value of "id" property is semantically
null. - isParamsStructured() - Method in class com.github.jinahya.jsonrpc.bind.v2.RequestObject
-
Indicates whether the current value of "params" property is, in a view of JSON, a structured value.
- isResultErrorExclusive() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
- isResultNull() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Indicates whether the current value of "result" property is semantically
null.
J
- JsonrpcObject<IdType> - Class in com.github.jinahya.jsonrpc.bind.v2
-
An abstract class for request objects and response objects.
- JsonrpcObject() - Constructor for class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
Creates a new instance.
M
- MAX_CODE_IMPLEMENTATION_DEFINED_SERVER_ERROR - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The maximum value for codes reserved for implementation-defined server errors.
- MAX_CODE_PREDEFINED_ERROR - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The maximum value for codes reserved for pre-defined errors.
- MIN_CODE_IMPLEMENTATION_DEFINED_SERVER_ERROR - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The minimum value for codes reserved for implementation-defined server errors.
- MIN_CODE_PREDEFINED_ERROR - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The minimum value for codes reserved for pre-defined errors.
N
- Notification<ParamType> - Class in com.github.jinahya.jsonrpc.bind.v1
-
A class for binding notifications which each "id" property should be semantically
null. - Notification() - Constructor for class com.github.jinahya.jsonrpc.bind.v1.Notification
-
Creates a new instance.
P
- PROPERTY_NAME_CODE - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The property name for
$.error.codeof response objects. - PROPERTY_NAME_DATA - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The property name for
$.error.dataof response objects. - PROPERTY_NAME_ERROR - Static variable in class com.github.jinahya.jsonrpc.bind.v1.Response
-
A property name for
$.error. - PROPERTY_NAME_ERROR - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
The property name for
$.error. - PROPERTY_NAME_ID - Static variable in class com.github.jinahya.jsonrpc.bind.v1.Identifiable
-
A property name for
$.id. - PROPERTY_NAME_ID - Static variable in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
The property name for
$.id. - PROPERTY_NAME_JSONRPC - Static variable in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
The property name for
$.jsonrpc. - PROPERTY_NAME_MESSAGE - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
The property name for
$.error.messageof response objects. - PROPERTY_NAME_METHOD - Static variable in class com.github.jinahya.jsonrpc.bind.v1.AbstractRequest
-
A property name for
$.method. - PROPERTY_NAME_METHOD - Static variable in class com.github.jinahya.jsonrpc.bind.v2.RequestObject
-
The property name for
$.method. - PROPERTY_NAME_PARAMS - Static variable in class com.github.jinahya.jsonrpc.bind.v1.AbstractRequest
-
A property name for
$.params. - PROPERTY_NAME_PARAMS - Static variable in class com.github.jinahya.jsonrpc.bind.v2.RequestObject
-
The property name for
$.params. - PROPERTY_NAME_RESULT - Static variable in class com.github.jinahya.jsonrpc.bind.v1.Response
-
A property name for
$.result. - PROPERTY_NAME_RESULT - Static variable in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
The property name for
$.result. - PROPERTY_VALUE_JSONRPC - Static variable in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
The fixed value for "jsonrpc" property.
R
- Request<ParamType,IdType> - Class in com.github.jinahya.jsonrpc.bind.v1
-
A class for binding requests.
- Request() - Constructor for class com.github.jinahya.jsonrpc.bind.v1.Request
- RequestObject<ParamsType,IdType> - Class in com.github.jinahya.jsonrpc.bind.v2
-
A class for binding request objects.
- RequestObject() - Constructor for class com.github.jinahya.jsonrpc.bind.v2.RequestObject
-
Creates a new instance.
- Response<ResultType,ErrorType,IdType> - Class in com.github.jinahya.jsonrpc.bind.v1
-
A class for binding responses.
- Response() - Constructor for class com.github.jinahya.jsonrpc.bind.v1.Response
-
Creates a new instance.
- ResponseObject<ResultType,ErrorType extends ResponseObject.ErrorObject<?>,IdType> - Class in com.github.jinahya.jsonrpc.bind.v2
-
A class for binding response objects.
- ResponseObject() - Constructor for class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Creates a new instance.
- ResponseObject.ErrorObject<DataType> - Class in com.github.jinahya.jsonrpc.bind.v2
-
A class for binding "error" property of response objects.
S
- setCode(Integer) - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
Replaces the current value of "code" property with specified value.
- setData(DataType) - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
Replaces the current value of "data" property with specified value.
- setError(ErrorType) - Method in class com.github.jinahya.jsonrpc.bind.v1.Response
-
Replaces the current value of "error" property with specified value.
- setError(ErrorType) - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Replaces the current value of "error" property with specified value.
- setErrorExclusively(ErrorType) - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Replaces the current value of "error" property with specified value exclusively.
- setId(IdType) - Method in class com.github.jinahya.jsonrpc.bind.v1.Identifiable
-
Replaces the current value of "id" property with specified value.
- setId(IdType) - Method in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
Replaces the current value of "id" property with specified value.
- setId(Void) - Method in class com.github.jinahya.jsonrpc.bind.v1.Notification
-
Replaces the current value of "id" property with specified value.
- setJsonrpc(String) - Method in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
Replaces the current value of "jsonrpc" property with specified value.
- setMessage(String) - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
Replaces the current value of "message" property with specified value.
- setMethod(String) - Method in class com.github.jinahya.jsonrpc.bind.v1.AbstractRequest
-
Replaces the current value of "method" property with specified value.
- setMethod(String) - Method in class com.github.jinahya.jsonrpc.bind.v2.RequestObject
-
Replace the current value of "method" property with specified value.
- setParams(List<ParamType>) - Method in class com.github.jinahya.jsonrpc.bind.v1.AbstractRequest
-
Replaces the current value of "params" property with specified value.
- setParams(ParamsType) - Method in class com.github.jinahya.jsonrpc.bind.v2.RequestObject
-
Replaces the current value of "params" property with specified value.
- setResult(ResultType) - Method in class com.github.jinahya.jsonrpc.bind.v1.Response
-
Replaces the current value of "result" property with specified value.
- setResult(ResultType) - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Replaces the current value of "result" property with specified value.
- setResultExclusively(ResultType) - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Replaces the current value of "result" property with specified value exclusively.
T
- toString() - Method in class com.github.jinahya.jsonrpc.bind.v1.AbstractRequest
-
Returns the string representation of the object.
- toString() - Method in class com.github.jinahya.jsonrpc.bind.v1.Identifiable
-
Returns the string representation of the object.
- toString() - Method in class com.github.jinahya.jsonrpc.bind.v2.JsonrpcObject
-
Returns a string representation of the object.
- toString() - Method in class com.github.jinahya.jsonrpc.bind.v2.RequestObject
-
Returns a string representation of the object.
- toString() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject.ErrorObject
-
Returns a string representation of the object.
- toString() - Method in class com.github.jinahya.jsonrpc.bind.v2.ResponseObject
-
Returns a string representation of the object.
All Classes All Packages