-
-
-
参数类型为GtApiProxyFactory.ApiParam的com.getui.push.v2.sdk.core.client中的方法
| 修饰符和类型 |
方法 |
说明 |
protected void |
DefaultApiClient.afterDoExecute(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body,
String result) |
调用接口后调用此方法
|
protected void |
DefaultApiClient.beforeExecute(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body) |
执行http调用之前调用此方法
|
ApiResult<?> |
DefaultApiClient.execute(GtApiProxyFactory.ApiParam apiParam) |
1.
|
protected void |
DefaultApiClient.handleException(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body,
ApiException e) |
调用远程接口报错后调用此方法
|
protected void |
DefaultApiClient.postExecute(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body,
String result) |
调用远程接口后调用此方法,如果报错则不会调用
|
-
参数类型为GtApiProxyFactory.ApiParam的com.getui.push.v2.sdk.core.handler中的方法
| 修饰符和类型 |
方法 |
说明 |
void |
GtInterceptor.afterCompletion(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body,
String result) |
http请求后调用,不管成功或者失败都会调用
|
void |
GtInterceptor.handleException(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body,
ApiException e) |
报错时调用此方法
|
void |
GtInterceptor.post(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body,
String result) |
http请求成功后调用此方法
|
void |
GtInterceptor.pre(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body) |
http请求前调用
|
-
参数类型为GtApiProxyFactory.ApiParam的com.getui.push.v2.sdk.core.handler.impl中的方法
| 修饰符和类型 |
方法 |
说明 |
void |
DefaultGtInterceptor.afterCompletion(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body,
String result) |
|
void |
DefaultGtInterceptor.handleException(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body,
ApiException e) |
|
void |
DefaultGtInterceptor.post(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body,
String result) |
|
void |
DefaultGtInterceptor.pre(GtApiProxyFactory.ApiParam apiParam,
Map<String,Object> header,
String body) |
|