|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectikrs.json.AbstractJSONValue
ikrs.json.JSONObject
ikrs.json.rpc.DefaultJSONRPCResponse
public class DefaultJSONRPCResponse
| Field Summary |
|---|
| Fields inherited from interface ikrs.json.JSONValue |
|---|
FALSE, NULL, TRUE, TYPE_ARRAY, TYPE_BOOLEAN, TYPE_NULL, TYPE_NUMBER, TYPE_OBJECT, TYPE_STRING |
| Constructor Summary | |
|---|---|
DefaultJSONRPCResponse(JSONValue result,
JSONValue error,
JSONValue id)
|
|
| Method Summary | |
|---|---|
JSONValue |
getError()
Get the error object from the response (if result is null). |
JSONValue |
getID()
Get the ID of this response. |
JSONValue |
getResult()
Get the RPC result of the call. |
JSONValue |
getVersion()
This method returns the value of the 'jsonrpc' field from this request. |
| Methods inherited from class ikrs.json.JSONObject |
|---|
asJSONArray, asJSONObject, getMap, getObject, main, toString, write |
| Methods inherited from class ikrs.json.AbstractJSONValue |
|---|
asJSONBoolean, asJSONNumber, asJSONString, getArray, getBoolean, getNumber, getString, getTypeName, isArray, isBoolean, isNull, isNumber, isObject, isString, isValidTypeID, toJSONString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ikrs.json.JSONValue |
|---|
asJSONArray, asJSONBoolean, asJSONNumber, asJSONObject, asJSONString, getArray, getBoolean, getNumber, getObject, getString, isArray, isBoolean, isNull, isNumber, isObject, isString, toJSONString, write |
| Constructor Detail |
|---|
public DefaultJSONRPCResponse(JSONValue result,
JSONValue error,
JSONValue id)
| Method Detail |
|---|
public JSONValue getVersion()
getVersion in interface JSONRPCResponsepublic JSONValue getResult()
getResult in interface JSONRPCResponsepublic JSONValue getError()
getError in interface JSONRPCResponsepublic JSONValue getID()
getID in interface JSONRPCResponse
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||