| Package | Description |
|---|---|
| com.tencentcloudapi.common |
| Modifier and Type | Class and Description |
|---|---|
class |
CommonRequest |
class |
CommonSSEResponse |
class |
SSEResponseModel |
| Modifier and Type | Method and Description |
|---|---|
protected <V extends AbstractModel> |
AbstractModel.setParamArrayObj(HashMap<String,String> map,
String prefix,
V[] array)
Helper method to set an array of object parameters in the map.
|
protected <V extends AbstractModel> |
AbstractModel.setParamObj(HashMap<String,String> map,
String prefix,
V obj)
Helper method to set an object parameter in the map.
|
static <O extends AbstractModel> |
AbstractModel.toJsonString(O obj)
Convert an object of type O to its JSON string representation.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
Object |
AbstractClient.retry(AbstractModel req,
int retryTimes)
请注意购买类接口谨慎调用,可能导致多次购买
仅幂等接口推荐使用
|
protected <V extends AbstractModel> |
AbstractModel.setParamArrayObj(HashMap<String,String> map,
String prefix,
V[] array)
Helper method to set an array of object parameters in the map.
|
Copyright © 2025. All rights reserved.