public class TopSecretGetRequest extends BaseTaobaoRequest<TopSecretGetResponse>
headerMap, order, session, targetAppKey, timestamp, topMixParams, udfParams| Constructor and Description |
|---|
TopSecretGetRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
check()
客户端参数检查,减少服务端无效调用。
|
String |
getApiCallType() |
String |
getApiMethodName()
获取TOP的API名称。
|
String |
getApiVersion() |
String |
getContentType() |
Long |
getCustomerUserId() |
String |
getHttpMethod() |
Class<TopSecretGetResponse> |
getResponseClass()
获取具体响应实现类的定义。
|
String |
getResponseType() |
Map<String,String> |
getTextParams()
获取所有的Key-Value形式的文本请求参数集合。其中:
Key: 请求参数名
Value: 请求参数值
|
void |
setCustomerUserId(Long customerUserId) |
void |
setRandomNum(String randomNum) |
void |
setSecretVersion(Long secretVersion) |
getBatchApiOrder, getBatchApiSession, getHeaderMap, getTargetAppKey, getTimestamp, getTopApiCallType, getTopApiFormat, getTopApiVersion, getTopContentType, getTopHttpMethod, getTopMixParams, getTopResponseType, putHeaderParam, putOtherTextParam, setBatchApiOrder, setBatchApiSession, setHeaderMap, setTargetAppKey, setTimestamp, setTopApiCallType, setTopApiFormat, setTopApiVersion, setTopContentType, setTopHttpMethod, setTopMixParams, setTopResponseTypepublic Long getCustomerUserId()
public void setCustomerUserId(Long customerUserId)
public void setRandomNum(String randomNum)
public void setSecretVersion(Long secretVersion)
public String getApiMethodName()
TaobaoRequestgetApiMethodName in interface TaobaoRequest<TopSecretGetResponse>getApiMethodName in class BaseTaobaoRequest<TopSecretGetResponse>public String getContentType()
public String getResponseType()
public String getApiVersion()
public String getApiCallType()
public String getHttpMethod()
public Map<String,String> getTextParams()
TaobaoRequestpublic Class<TopSecretGetResponse> getResponseClass()
TaobaoRequestpublic void check()
throws ApiRuleException
TaobaoRequestApiRuleExceptionCopyright © 2021. All rights reserved.