类 cn.jpush.api.common.resp.ResponseWrapper
的使用

使用 ResponseWrapper 的软件包
cn.jpush.api.common.connection   
cn.jpush.api.common.resp   
 

cn.jpush.api.common.connectionResponseWrapper 的使用
 

返回 ResponseWrappercn.jpush.api.common.connection 中的方法
 ResponseWrapper NativeHttpClient.doRequest(String url, String content, IHttpClient.RequestMethod method)
           
 ResponseWrapper NativeHttpClient.sendDelete(String url)
           
 ResponseWrapper IHttpClient.sendDelete(String url)
           
 ResponseWrapper NativeHttpClient.sendGet(String url)
           
 ResponseWrapper IHttpClient.sendGet(String url)
           
 ResponseWrapper NativeHttpClient.sendPost(String url, String content)
           
 ResponseWrapper IHttpClient.sendPost(String url, String content)
           
 

cn.jpush.api.common.respResponseWrapper 的使用
 

参数类型为 ResponseWrappercn.jpush.api.common.resp 中的方法
static DefaultResult DefaultResult.fromResponse(ResponseWrapper responseWrapper)
           
static
<T extends BaseResult>
T
BaseResult.fromResponse(ResponseWrapper responseWrapper, Class<T> clazz)
           
 void BaseResult.setResponseWrapper(ResponseWrapper responseWrapper)
           
 

参数类型为 ResponseWrappercn.jpush.api.common.resp 中的构造方法
APIRequestException(ResponseWrapper responseWrapper)
           
 



Copyright © 2014. All Rights Reserved.