限定符和类型 | 方法和说明 |
---|---|
void |
BeaconService.reportDownloadTaskServiceException(CosXmlRequest request,
QCloudServiceException serviceException) |
CosXmlServiceException |
BeaconService.reportRequestServiceException(CosXmlRequest request,
QCloudServiceException serviceException) |
void |
BeaconService.reportUploadTaskServiceException(CosXmlRequest request,
QCloudServiceException serviceException) |
限定符和类型 | 类和说明 |
---|---|
class |
CosXmlServiceException
服务端异常
是客户端和 COS 服务端交互正常,但操作 COS 资源失败。 |
构造器和说明 |
---|
CosXmlServiceException(QCloudServiceException qcloudServiceException) |
限定符和类型 | 方法和说明 |
---|---|
T2 |
ResponseFileBodySerializer.convert(HttpResponse response) |
T |
ResponseXmlS3BodySerializer.convert(HttpResponse response) |
T |
SelectObjectContentConverter.convert(HttpResponse<T> response) |
T |
ResponseBytesConverter.convert(HttpResponse<T> response) |
限定符和类型 | 方法和说明 |
---|---|
QCloudServiceException |
QCloudServiceException.setErrorCode(java.lang.String errorCode)
Sets the qcloud error code represented by this exception.
|
限定符和类型 | 方法和说明 |
---|---|
void |
QCloudResultListener.onFailure(QCloudClientException clientException,
QCloudServiceException serviceException)
网络请求失败回调
|
限定符和类型 | 方法和说明 |
---|---|
QCloudServiceException |
HttpResult.asException() |
限定符和类型 | 方法和说明 |
---|---|
static void |
HttpResponse.checkResponseSuccessful(HttpResponse response) |
T |
ResponseFileConverter.convert(HttpResponse<T> response) |
T |
ResponseInputStreamConverter.convert(HttpResponse<T> response) |
abstract T |
ResponseBodyConverter.convert(HttpResponse<T> response)
转换方法
|
protected HttpResult<T> |
OkHttpProxy.convertResponse(HttpRequest<T> request,
okhttp3.Response response) |
protected abstract HttpResult<T> |
NetworkProxy.convertResponse(HttpRequest<T> httpRequest,
okhttp3.Response response) |
void |
HttpTask.convertResponse(okhttp3.Response response) |
protected HttpResult<T> |
HttpTask.execute() |
protected HttpResult<T> |
OkHttpProxy.executeHttpRequest(HttpRequest<T> httpRequest) |
protected abstract HttpResult<T> |
NetworkProxy.executeHttpRequest(HttpRequest<T> httpRequest) |
限定符和类型 | 方法和说明 |
---|---|
protected abstract T |
QCloudTask.execute() |
T |
QCloudTask.executeNow() |