public class DefaultAcsClient extends Object implements IAcsClient
| 构造器和说明 |
|---|
DefaultAcsClient() |
DefaultAcsClient(IClientProfile profile) |
DefaultAcsClient(IClientProfile profile,
AlibabaCloudCredentials credentials) |
DefaultAcsClient(IClientProfile profile,
AlibabaCloudCredentialsProvider credentialsProvider) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends AcsResponse> |
doAction(AcsRequest<T> request) |
<T extends AcsResponse> |
doAction(AcsRequest<T> request,
boolean autoRetry,
int maxRetryCounts) |
<T extends AcsResponse> |
doAction(AcsRequest<T> request,
boolean autoRetry,
int maxRetryCounts,
IClientProfile profile) |
<T extends AcsResponse> |
doAction(AcsRequest<T> request,
boolean autoRetry,
int maxRetryNumber,
String regionId,
Credential credential,
Signer signer,
FormatType format,
List<Endpoint> endpoints)
已过时。
|
<T extends AcsResponse> |
doAction(AcsRequest<T> request,
IClientProfile profile) |
<T extends AcsResponse> |
doAction(AcsRequest<T> request,
String regionId,
Credential credential) |
<T extends AcsResponse> |
getAcsResponse(AcsRequest<T> request) |
<T extends AcsResponse> |
getAcsResponse(AcsRequest<T> request,
boolean autoRetry,
int maxRetryCounts) |
<T extends AcsResponse> |
getAcsResponse(AcsRequest<T> request,
IClientProfile profile) |
<T extends AcsResponse> |
getAcsResponse(AcsRequest<T> request,
String regionId) |
<T extends AcsResponse> |
getAcsResponse(AcsRequest<T> request,
String regionId,
Credential credential) |
CommonResponse |
getCommonResponse(CommonRequest request) |
int |
getMaxRetryNumber() |
void |
ignoreSSLCertificate() |
boolean |
isAutoRetry() |
void |
restoreSSLCertificate() |
void |
setAutoRetry(boolean autoRetry) |
void |
setMaxRetryNumber(int maxRetryNumber) |
void |
shutdown() |
public DefaultAcsClient()
public DefaultAcsClient(IClientProfile profile)
public DefaultAcsClient(IClientProfile profile, AlibabaCloudCredentials credentials)
public DefaultAcsClient(IClientProfile profile, AlibabaCloudCredentialsProvider credentialsProvider)
public <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request) throws ClientException, ServerException
doAction 在接口中 IAcsClientClientExceptionServerExceptionpublic <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request, boolean autoRetry, int maxRetryCounts) throws ClientException, ServerException
doAction 在接口中 IAcsClientClientExceptionServerExceptionpublic <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request, IClientProfile profile) throws ClientException, ServerException
doAction 在接口中 IAcsClientClientExceptionServerExceptionpublic <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request, String regionId, Credential credential) throws ClientException, ServerException
doAction 在接口中 IAcsClientClientExceptionServerExceptionpublic <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request) throws ServerException, ClientException
getAcsResponse 在接口中 IAcsClientServerExceptionClientExceptionpublic <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request, boolean autoRetry, int maxRetryCounts) throws ServerException, ClientException
getAcsResponse 在接口中 IAcsClientServerExceptionClientExceptionpublic <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request, IClientProfile profile) throws ServerException, ClientException
getAcsResponse 在接口中 IAcsClientServerExceptionClientExceptionpublic <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request, String regionId, Credential credential) throws ServerException, ClientException
getAcsResponse 在接口中 IAcsClientServerExceptionClientExceptionpublic <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request, String regionId) throws ServerException, ClientException
getAcsResponse 在接口中 IAcsClientServerExceptionClientExceptionpublic CommonResponse getCommonResponse(CommonRequest request) throws ServerException, ClientException
getCommonResponse 在接口中 IAcsClientServerExceptionClientExceptionpublic <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request, boolean autoRetry, int maxRetryCounts, IClientProfile profile) throws ClientException, ServerException
doAction 在接口中 IAcsClientClientExceptionServerException@Deprecated public <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request, boolean autoRetry, int maxRetryNumber, String regionId, Credential credential, Signer signer, FormatType format, List<Endpoint> endpoints) throws ClientException, ServerException
doAction 在接口中 IAcsClientClientExceptionServerExceptionpublic boolean isAutoRetry()
public void setAutoRetry(boolean autoRetry)
public int getMaxRetryNumber()
public void setMaxRetryNumber(int maxRetryNumber)
public void restoreSSLCertificate()
restoreSSLCertificate 在接口中 IAcsClientpublic void ignoreSSLCertificate()
ignoreSSLCertificate 在接口中 IAcsClientpublic void shutdown()
shutdown 在接口中 IAcsClientCopyright © 2018. All Rights Reserved.