限定符和类型 | 方法和说明 |
---|---|
void |
BeaconService.reportDownloadTaskClientException(CosXmlRequest request,
QCloudClientException clientException) |
CosXmlClientException |
BeaconService.reportRequestClientException(CosXmlRequest request,
QCloudClientException clientException) |
void |
BeaconService.reportUploadTaskClientException(CosXmlRequest request,
QCloudClientException clientException) |
限定符和类型 | 类和说明 |
---|---|
class |
CosXmlClientException
客户端异常
是由于客户端无法和 COS 服务端正常进行交互所引起。 |
限定符和类型 | 方法和说明 |
---|---|
T2 |
ResponseFileBodySerializer.convert(HttpResponse response) |
T |
ResponseXmlS3BodySerializer.convert(HttpResponse response) |
T |
SelectObjectContentConverter.convert(HttpResponse<T> response) |
T |
ResponseBytesConverter.convert(HttpResponse<T> response) |
限定符和类型 | 方法和说明 |
---|---|
protected abstract QCloudLifecycleCredentials |
BasicLifecycleCredentialProvider.fetchNewCredentials()
请求一个新的临时密钥
|
protected QCloudLifecycleCredentials |
ShortTimeCredentialProvider.fetchNewCredentials() |
protected QCloudLifecycleCredentials |
SessionCredentialProvider.fetchNewCredentials() |
SessionQCloudCredentials |
STSScopeLimitCredentialProvider.fetchNewCredentials(STSCredentialScope[] credentialScope) |
protected abstract SessionQCloudCredentials |
BasicScopeLimitCredentialProvider.fetchNewCredentials(STSCredentialScope[] credentialScope)
根据权限,请求一个新的临时密钥
|
QCloudCredentials |
BasicLifecycleCredentialProvider.getCredentials() |
QCloudCredentials |
BasicScopeLimitCredentialProvider.getCredentials() |
QCloudCredentials |
QCloudCredentialProvider.getCredentials()
Returns QCloudCredentials which the caller can use to authorize an QCloud
request.
|
SessionQCloudCredentials |
ScopeLimitCredentialProvider.getCredentials(STSCredentialScope[] credentialScope)
可以根据权限范围,返回一个合适的临时密钥。
|
SessionQCloudCredentials |
BasicScopeLimitCredentialProvider.getCredentials(STSCredentialScope[] credentialScope) |
<T> void |
QCloudSignSourceProvider.onSignRequestSuccess(HttpRequest<T> request,
QCloudCredentials credentials,
java.lang.String authorization)
请求签名成功
|
protected SessionQCloudCredentials |
STSScopeLimitCredentialProvider.parseServerResponse(java.lang.String jsonContent)
解析服务器返回的 json 数据,默认行为是解析 CAM 的标准返回格式
|
protected SessionQCloudCredentials |
SessionCredentialProvider.parseServerResponse(java.lang.String jsonContent)
解析服务器返回的 json 数据,默认行为是解析 CAM 的标准返回格式
|
void |
BasicLifecycleCredentialProvider.refresh() |
void |
QCloudCredentialProvider.refresh()
Forces this credentials provider to refresh its credentials.
|
void |
QCloudSelfSigner.sign(QCloudHttpRequest request)
对请求进行签名
|
void |
COSXmlSigner.sign(QCloudHttpRequest request,
QCloudCredentials credentials)
使用指定的证书按照请求签名文档规则对请求进行签名
|
void |
QCloudSigner.sign(QCloudHttpRequest request,
QCloudCredentials credentials)
使用指定的证书对请求进行签名
|
<T> java.lang.String |
QCloudSignSourceProvider.source(HttpRequest<T> request)
获取请求中参与签名的字段生成的结果字符串
|
<T> java.lang.String |
COSXmlSignSourceProvider.source(HttpRequest<T> request) |
限定符和类型 | 方法和说明 |
---|---|
void |
QCloudResultListener.onFailure(QCloudClientException clientException,
QCloudServiceException serviceException)
网络请求失败回调
|
限定符和类型 | 方法和说明 |
---|---|
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) |
java.io.OutputStream |
ResponseFileConverter.getOutputStream() |
限定符和类型 | 方法和说明 |
---|---|
protected abstract T |
QCloudTask.execute() |
T |
QCloudTask.executeNow() |