public class DefaultAcsClient extends Object implements IAcsClient
| Constructor and Description |
|---|
DefaultAcsClient()
Deprecated.
|
DefaultAcsClient(IClientProfile profile) |
DefaultAcsClient(IClientProfile profile,
AlibabaCloudCredentials credentials) |
DefaultAcsClient(IClientProfile profile,
AlibabaCloudCredentialsProvider credentialsProvider) |
| Modifier and Type | Method and Description |
|---|---|
<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)
Deprecated.
|
<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 |
setEndpointResolver(EndpointResolver resolver) |
void |
setMaxRetryNumber(int maxRetryNumber) |
void |
shutdown() |
@Deprecated 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 in interface IAcsClientClientExceptionServerExceptionpublic <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request, boolean autoRetry, int maxRetryCounts) throws ClientException, ServerException
doAction in interface IAcsClientClientExceptionServerExceptionpublic <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request, IClientProfile profile) throws ClientException, ServerException
doAction in interface IAcsClientClientExceptionServerExceptionpublic <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request, String regionId, Credential credential) throws ClientException, ServerException
doAction in interface IAcsClientClientExceptionServerExceptionpublic <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request) throws ServerException, ClientException
getAcsResponse in interface IAcsClientServerExceptionClientExceptionpublic <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request, boolean autoRetry, int maxRetryCounts) throws ServerException, ClientException
getAcsResponse in interface IAcsClientServerExceptionClientExceptionpublic <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request, IClientProfile profile) throws ServerException, ClientException
getAcsResponse in interface IAcsClientServerExceptionClientExceptionpublic <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request, String regionId, Credential credential) throws ServerException, ClientException
getAcsResponse in interface IAcsClientServerExceptionClientExceptionpublic <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request, String regionId) throws ServerException, ClientException
getAcsResponse in interface IAcsClientServerExceptionClientExceptionpublic CommonResponse getCommonResponse(CommonRequest request) throws ServerException, ClientException
getCommonResponse in interface IAcsClientServerExceptionClientExceptionpublic <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request, boolean autoRetry, int maxRetryCounts, IClientProfile profile) throws ClientException, ServerException
doAction in interface IAcsClientClientExceptionServerException@Deprecated public <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request, boolean autoRetry, int maxRetryNumber, String regionId, Credential credential, Signer signer, FormatType format) throws ClientException, ServerException
ClientExceptionServerExceptionpublic boolean isAutoRetry()
public void setAutoRetry(boolean autoRetry)
public int getMaxRetryNumber()
public void setMaxRetryNumber(int maxRetryNumber)
public void restoreSSLCertificate()
restoreSSLCertificate in interface IAcsClientpublic void ignoreSSLCertificate()
ignoreSSLCertificate in interface IAcsClientpublic void setEndpointResolver(EndpointResolver resolver)
public void shutdown()
shutdown in interface IAcsClientCopyright © 2018. All Rights Reserved.