| 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) |
static byte[] |
Sign.hmac256(byte[] key,
String msg) |
protected String |
AbstractClient.internalRequest(AbstractModel request,
String actionName) |
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) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Response |
HttpConnection.doRequest(okhttp3.Request request) |
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 |
DefaultCredentialsProvider.getCredentials() |
Credential |
CredentialsProvider.getCredentials() |
Credential |
EnvironmentVariableCredentialsProvider.getCredentials() |
Copyright © 2023. All rights reserved.