public class OkHttpProxy<T> extends NetworkProxy<T>
identifier, metrics, mProgressListener
构造器和说明 |
---|
OkHttpProxy(okhttp3.OkHttpClient okHttpClient) |
限定符和类型 | 方法和说明 |
---|---|
void |
cancel() |
protected HttpResult<T> |
convertResponse(HttpRequest<T> request,
okhttp3.Response response) |
protected HttpResult<T> |
executeHttpRequest(HttpRequest<T> httpRequest) |
public void cancel()
cancel
在类中 NetworkProxy<T>
protected HttpResult<T> executeHttpRequest(HttpRequest<T> httpRequest) throws QCloudClientException, QCloudServiceException
protected HttpResult<T> convertResponse(HttpRequest<T> request, okhttp3.Response response) throws QCloudClientException, QCloudServiceException
convertResponse
在类中 NetworkProxy<T>
QCloudClientException
QCloudServiceException