|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ikrs.json.AbstractJSONValue ikrs.json.JSONObject ikrs.json.rpc.DefaultJSONRPCRequest
public class DefaultJSONRPCRequest
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 | |
---|---|
DefaultJSONRPCRequest()
|
|
DefaultJSONRPCRequest(java.lang.String method,
JSONArray params,
java.lang.Number id)
|
Method Summary | |
---|---|
JSONValue |
getID()
Get the ID of this resquest. |
JSONValue |
getMethod()
Get the request's method name. |
JSONValue |
getParams()
Get the request's method params. |
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 DefaultJSONRPCRequest()
public DefaultJSONRPCRequest(java.lang.String method, JSONArray params, java.lang.Number id)
Method Detail |
---|
public JSONValue getVersion()
getVersion
in interface JSONRPCRequest
public JSONValue getMethod()
getMethod
in interface JSONRPCRequest
public JSONValue getParams()
getParams
in interface JSONRPCRequest
public JSONValue getID()
getID
in interface JSONRPCRequest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |