| 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)
Calls an API action with JSON payload using the TC3-HMAC-SHA256 signature.
|
String |
AbstractClient.callOctetStream(String action,
HashMap<String,String> headers,
byte[] body)
Calls an API action with binary payload using the TC3-HMAC-SHA256 signature.
|
String |
CommonClient.commonRequest(AbstractModel req,
String actionName)
Sends a request to Tencent Cloud API with the specified action name.
|
<T> T |
CommonClient.commonRequest(AbstractModel req,
String actionName,
Class<T> typeOfT)
Sends a request to Tencent Cloud API and parses the response into the specified type.
|
static byte[] |
Sign.hmac256(byte[] key,
String msg)
Calculates the HMAC-SHA-256 signature of the given message using the specified key.
|
protected String |
AbstractClient.internalRequest(AbstractModel request,
String actionName)
Executes an API request and returns the raw string response.
|
protected <T> T |
AbstractClient.internalRequest(AbstractModel request,
String actionName,
Class<T> typeOfT)
Executes an API request and returns the deserialized response object.
|
protected okhttp3.Response |
AbstractClient.internalRequestRaw(AbstractModel request,
String actionName)
Executes the raw API request and returns the HTTP Response object.
|
protected <T> T |
AbstractClient.processResponseJson(okhttp3.Response resp,
Class<T> typeOfT,
CircuitBreaker.Token breakerToken)
Processes a JSON response.
|
protected <T> T |
AbstractClient.processResponseSSE(okhttp3.Response resp,
Class<T> typeOfT,
CircuitBreaker.Token breakerToken)
Processes a Server-Sent Events (SSE) response.
|
Object |
AbstractClient.retry(AbstractModel req,
int retryTimes)
请注意购买类接口谨慎调用,可能导致多次购买
仅幂等接口推荐使用
|
static String |
Sign.sha256Hex(byte[] b)
Calculates the SHA-256 hash of the given byte array and returns it as a hexadecimal string.
|
static String |
Sign.sha256Hex(String s)
Calculates the SHA-256 hash of the given string and returns it as a hexadecimal string.
|
static String |
Sign.sign(String secretKey,
String sigStr,
String sigMethod)
Signs the given string using the specified method and secret key.
|
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 |
OIDCRoleArnProvider.getCredentials() |
Credential |
CredentialsProvider.getCredentials() |
Credential |
ProfileCredentialsProvider.getCredentials() |
Credential |
EnvironmentVariableCredentialsProvider.getCredentials() |
Credential |
DefaultCredentialsProvider.getCredentials() |
void |
OIDCRoleArnProvider.update(Credential credential) |
| Constructor and Description |
|---|
OIDCRoleArnProvider() |
Copyright © 2025. All rights reserved.