public class JsonRPCRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonRPCRequest.InvalidResponseError |
static class |
JsonRPCRequest.RequestResult |
| Constructor and Description |
|---|
JsonRPCRequest(String methodName,
Map<String,com.google.gwt.json.client.JSONValue> params) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContext() |
long |
getId() |
String |
getMethodName() |
Promise<com.google.gwt.json.client.JSONValue,IError> |
getPromise() |
static Promise<com.google.gwt.json.client.JSONValue,IError> |
makeCall(String methodName,
Map<String,com.google.gwt.json.client.JSONValue> params) |
Promise<com.google.gwt.json.client.JSONValue,IError> |
send() |
void |
setContext(Object context) |
com.google.gwt.json.client.JSONObject |
toJSON() |
public long getId()
public String getMethodName()
public Object getContext()
public void setContext(Object context)
public com.google.gwt.json.client.JSONObject toJSON()
public static final Promise<com.google.gwt.json.client.JSONValue,IError> makeCall(String methodName, Map<String,com.google.gwt.json.client.JSONValue> params)
Copyright © 2018. All rights reserved.