public class AliyunRpcClient extends Object
| 构造器和说明 |
|---|
AliyunRpcClient(String endpoint) |
AliyunRpcClient(String endpoint,
String roleName) |
AliyunRpcClient(String endpoint,
String accessKeyId,
String accessKeySecret) |
AliyunRpcClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String securityToken) |
AliyunRpcClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String roleArn,
String roleSessionName) |
AliyunRpcClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String roleArn,
String roleSessionName,
String policy) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends AliyunResponse> |
doRequest(AliyunRequest<T> request) |
<T extends AliyunResponse> |
getAcsResponse(AliyunRequest<T> request) |
protected <T extends AliyunResponse> |
readResponse(Class<T> clasz,
HttpResponse httpResponse,
FormatType format) |
AliyunRpcClient |
withBackoffStrategy(BackoffStrategy backoffStrategy) |
public AliyunRpcClient(String endpoint)
public AliyunRpcClient(String endpoint, String accessKeyId, String accessKeySecret, String securityToken)
public AliyunRpcClient(String endpoint, String accessKeyId, String accessKeySecret, String roleArn, String roleSessionName)
public AliyunRpcClient(String endpoint, String accessKeyId, String accessKeySecret, String roleArn, String roleSessionName, String policy)
public AliyunRpcClient withBackoffStrategy(BackoffStrategy backoffStrategy)
public <T extends AliyunResponse> HttpResponse doRequest(AliyunRequest<T> request) throws ClientException
ClientExceptionpublic <T extends AliyunResponse> T getAcsResponse(AliyunRequest<T> request) throws ClientException
ClientExceptionprotected <T extends AliyunResponse> T readResponse(Class<T> clasz, HttpResponse httpResponse, FormatType format) throws ClientException
ClientExceptionCopyright © 2023. All rights reserved.