public abstract class NetworkProxy<T>
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected java.lang.String |
identifier |
protected HttpTaskMetrics |
metrics |
protected QCloudProgressListener |
mProgressListener |
构造器和说明 |
---|
NetworkProxy() |
限定符和类型 | 方法和说明 |
---|---|
protected abstract void |
cancel() |
protected abstract HttpResult<T> |
convertResponse(HttpRequest<T> httpRequest,
okhttp3.Response response) |
protected abstract HttpResult<T> |
executeHttpRequest(HttpRequest<T> httpRequest) |
protected HttpTaskMetrics metrics
protected java.lang.String identifier
protected QCloudProgressListener mProgressListener
protected abstract void cancel()
protected abstract HttpResult<T> executeHttpRequest(HttpRequest<T> httpRequest) throws QCloudClientException, QCloudServiceException
protected abstract HttpResult<T> convertResponse(HttpRequest<T> httpRequest, okhttp3.Response response) throws QCloudClientException, QCloudServiceException