public class ApiDocProxy extends Object
| 构造器和说明 |
|---|
ApiDocProxy() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends com.google.gwt.core.client.JavaScriptObject> |
fetch(String url,
String jsonData,
String method,
IOnData<T> handler)
向服务器请求接口调用.
|
static <T extends com.google.gwt.core.client.JavaScriptObject> |
fetchData(String target,
IOnData<T> handler)
Fetch data.
|
static void |
fetchString(String url,
String jsonData,
String contextType,
String method,
IOnData<String> handler)
向服务器请求接口调用.
|
public static void fetchString(String url, String jsonData, String contextType, String method, IOnData<String> handler) throws com.google.gwt.http.client.RequestException
url - the urljsonData - the json datacontextType - the context typemethod - the methodhandler - the handlercom.google.gwt.http.client.RequestException - the request exceptionpublic static <T extends com.google.gwt.core.client.JavaScriptObject> void fetch(String url, String jsonData, String method, IOnData<T> handler) throws com.google.gwt.http.client.RequestException
T - the generic typeurl - the urljsonData - the json datamethod - the methodhandler - the handlercom.google.gwt.http.client.RequestException - the request exceptionCopyright © 2018. All rights reserved.