com.aliyuncs
类 DefaultAcsClient
java.lang.Object
com.aliyuncs.DefaultAcsClient
- 所有已实现的接口:
- IAcsClient
public class DefaultAcsClient
- extends Object
- implements IAcsClient
方法摘要 |
|
doAction(AcsRequest<T> request)
|
|
doAction(AcsRequest<T> request,
boolean autoRetry,
int maxRetryCounts)
|
|
doAction(AcsRequest<T> request,
boolean autoRetry,
int maxRetryCounts,
IClientProfile profile)
|
|
doAction(AcsRequest<T> request,
boolean autoRetry,
int maxRetryNumber,
String regionId,
Credential credential,
ISigner signer,
FormatType format,
List<Endpoint> endpoints)
|
|
doAction(AcsRequest<T> request,
IClientProfile profile)
|
|
doAction(AcsRequest<T> request,
String regionId,
Credential credential)
|
|
getAcsResponse(AcsRequest<T> request)
|
|
getAcsResponse(AcsRequest<T> request,
boolean autoRetry,
int maxRetryCounts)
|
|
getAcsResponse(AcsRequest<T> request,
IClientProfile profile)
|
|
getAcsResponse(AcsRequest<T> request,
String regionId,
Credential credential)
|
CommonResponse |
getCommonResponse(CommonRequest request)
|
int |
getMaxRetryNumber()
|
boolean |
isAutoRetry()
|
void |
setAutoRetry(boolean autoRetry)
|
void |
setMaxRetryNumber(int maxRetryNumber)
|
void |
setUrlTestFlag(boolean flag)
|
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAcsClient
public DefaultAcsClient()
DefaultAcsClient
public DefaultAcsClient(IClientProfile profile)
doAction
public <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request)
throws ClientException,
ServerException
- 指定者:
- 接口
IAcsClient
中的 doAction
- 抛出:
ClientException
ServerException
doAction
public <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request,
boolean autoRetry,
int maxRetryCounts)
throws ClientException,
ServerException
- 指定者:
- 接口
IAcsClient
中的 doAction
- 抛出:
ClientException
ServerException
doAction
public <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request,
IClientProfile profile)
throws ClientException,
ServerException
- 指定者:
- 接口
IAcsClient
中的 doAction
- 抛出:
ClientException
ServerException
doAction
public <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request,
String regionId,
Credential credential)
throws ClientException,
ServerException
- 指定者:
- 接口
IAcsClient
中的 doAction
- 抛出:
ClientException
ServerException
getAcsResponse
public <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request)
throws ServerException,
ClientException
- 指定者:
- 接口
IAcsClient
中的 getAcsResponse
- 抛出:
ServerException
ClientException
getAcsResponse
public <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request,
boolean autoRetry,
int maxRetryCounts)
throws ServerException,
ClientException
- 指定者:
- 接口
IAcsClient
中的 getAcsResponse
- 抛出:
ServerException
ClientException
getAcsResponse
public <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request,
IClientProfile profile)
throws ServerException,
ClientException
- 指定者:
- 接口
IAcsClient
中的 getAcsResponse
- 抛出:
ServerException
ClientException
getAcsResponse
public <T extends AcsResponse> T getAcsResponse(AcsRequest<T> request,
String regionId,
Credential credential)
throws ServerException,
ClientException
- 指定者:
- 接口
IAcsClient
中的 getAcsResponse
- 抛出:
ServerException
ClientException
getCommonResponse
public CommonResponse getCommonResponse(CommonRequest request)
throws ServerException,
ClientException
- 指定者:
- 接口
IAcsClient
中的 getCommonResponse
- 抛出:
ServerException
ClientException
doAction
public <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request,
boolean autoRetry,
int maxRetryCounts,
IClientProfile profile)
throws ClientException,
ServerException
- 指定者:
- 接口
IAcsClient
中的 doAction
- 抛出:
ClientException
ServerException
doAction
public <T extends AcsResponse> HttpResponse doAction(AcsRequest<T> request,
boolean autoRetry,
int maxRetryNumber,
String regionId,
Credential credential,
ISigner signer,
FormatType format,
List<Endpoint> endpoints)
throws ClientException,
ServerException
- 指定者:
- 接口
IAcsClient
中的 doAction
- 抛出:
ClientException
ServerException
isAutoRetry
public boolean isAutoRetry()
setAutoRetry
public void setAutoRetry(boolean autoRetry)
getMaxRetryNumber
public int getMaxRetryNumber()
setMaxRetryNumber
public void setMaxRetryNumber(int maxRetryNumber)
setUrlTestFlag
public void setUrlTestFlag(boolean flag)
Copyright © 2017. All Rights Reserved.