com.google.api.client.json.rpc2
Class JsonRpcRequest
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.rpc2.JsonRpcRequest
- All Implemented Interfaces:
- Cloneable, Map<String,Object>
public class JsonRpcRequest
- extends GenericData
JSON-RPC 2.0 request object.
- Since:
- 1.0
- Author:
- Yaniv Inbar
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
|
Field Summary |
Object |
id
An identifier established by the Client that MUST contain a String or a Number. |
String |
jsonrpc
A String specifying the version of the JSON-RPC protocol. |
String |
method
A String containing the name of the method to be invoked. |
Object |
params
A Structured value that holds the parameter values to be used during the invocation of the
method. |
jsonrpc
public final String jsonrpc
- A String specifying the version of the JSON-RPC protocol. MUST be exactly "2.0".
- See Also:
- Constant Field Values
id
public Object id
- An identifier established by the Client that MUST contain a String or a Number. If it is not
included it is assumed to be a notification, and will not receive a response.
method
public String method
- A String containing the name of the method to be invoked.
params
public Object params
- A Structured value that holds the parameter values to be used during the invocation of the
method. This member MAY be omitted.
JsonRpcRequest
public JsonRpcRequest()
Copyright © 2010-2011 Google. All Rights Reserved.