| Package | Description |
|---|---|
| com.tencentcloudapi.common | |
| com.tencentcloudapi.common.http | |
| com.tencentcloudapi.common.provider |
| Modifier and Type | Method and Description |
|---|---|
String |
AbstractClient.call(String action,
String jsonPayload)
Use post/json with tc3-hmac-sha256 signature to call any action.
|
String |
AbstractClient.callOctetStream(String action,
HashMap<String,String> headers,
byte[] body)
Use post application/octet-stream with tc3-hmac-sha256 signature to call specific action.
|
String |
CommonClient.commonRequest(AbstractModel req,
String actionName) |
<T> T |
CommonClient.commonRequest(AbstractModel req,
String actionName,
Class<T> typeOfT) |
static byte[] |
Sign.hmac256(byte[] key,
String msg) |
protected String |
AbstractClient.internalRequest(AbstractModel request,
String actionName) |
protected <T> T |
AbstractClient.internalRequest(AbstractModel request,
String actionName,
Class<T> typeOfT) |
protected okhttp3.Response |
AbstractClient.internalRequestRaw(AbstractModel request,
String actionName) |
protected <T> T |
AbstractClient.processResponseJson(okhttp3.Response resp,
Class<T> typeOfT,
CircuitBreaker.Token breakerToken) |
protected <T> T |
AbstractClient.processResponseSSE(okhttp3.Response resp,
Class<T> typeOfT,
CircuitBreaker.Token breakerToken) |
Object |
AbstractClient.retry(AbstractModel req,
int retryTimes)
请注意购买类接口谨慎调用,可能导致多次购买
仅幂等接口推荐使用
|
static String |
Sign.sha256Hex(byte[] b) |
static String |
Sign.sha256Hex(String s) |
static String |
Sign.sign(String secretKey,
String sigStr,
String sigMethod) |
void |
Credential.Updater.update(Credential credential) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Response |
HttpConnection.getRequest(String url) |
okhttp3.Response |
HttpConnection.getRequest(String url,
okhttp3.Headers headers) |
okhttp3.Response |
HttpConnection.postRequest(String url,
byte[] body,
okhttp3.Headers headers) |
okhttp3.Response |
HttpConnection.postRequest(String url,
String body) |
okhttp3.Response |
HttpConnection.postRequest(String url,
String body,
okhttp3.Headers headers) |
| Modifier and Type | Method and Description |
|---|---|
Credential |
ProfileCredentialsProvider.getCredentials() |
Credential |
EnvironmentVariableCredentialsProvider.getCredentials() |
Credential |
OIDCRoleArnProvider.getCredentials() |
Credential |
CredentialsProvider.getCredentials() |
Credential |
DefaultCredentialsProvider.getCredentials() |
void |
OIDCRoleArnProvider.update(Credential credential) |
| Constructor and Description |
|---|
OIDCRoleArnProvider() |
Copyright © 2025. All rights reserved.