public class SignatureValidateRequest extends Object implements TaobaoUploadRequest<SignatureValidateResponse>
| 构造器和说明 |
|---|
SignatureValidateRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
check()
客户端参数检查,减少服务端无效调用。
|
String |
getAlgorithm() |
String |
getApiMethodName()
获取TOP的API名称。
|
int |
getBatchApiOrder()
获取API在批量调用中的顺序,仅用于批量API调用请求。
|
String |
getBatchApiSession()
获取API请求的用户授权码,仅用于批量API调用请求。
|
FileItem |
getBody() |
String |
getCharset() |
Map<String,FileItem> |
getFileParams()
获取所有的Key-Value形式的文件请求参数集合。
|
Map<String,String> |
getHeaderMap()
获取自定义HTTP请求头参数。
|
String |
getProxyAppKey() |
Class<SignatureValidateResponse> |
getResponseClass()
获取具体响应实现类的定义。
|
String |
getSignature() |
String |
getTargetAppKey()
获取被调用的目标AppKey
|
Map<String,String> |
getTextParams()
获取所有的Key-Value形式的文本请求参数集合。
|
Long |
getTimestamp()
获取请求时间戳(为空则用系统当前时间)
|
String |
getTopApiCallType()
获取API调用方式
|
String |
getTopApiFormat() |
String |
getTopApiVersion()
API版本号,将作为最终API请求的v请求参数
|
String |
getTopContentType()
API对应的请求方式,包含xml,json,form
|
String |
getTopHttpMethod()
获取Http method,例如GET,POST
|
String |
getTopResponseType()
API对应的响应格式,包含top(top标准),qimen(奇门1.0标准),qimen2(奇门2.0标准)
|
void |
putOtherTextParam(String key,
String value) |
void |
setAlgorithm(String algorithm) |
void |
setBatchApiOrder(int order)
设置API在批量调用中的顺序,仅用于批量API调用请求。
|
void |
setBatchApiSession(String session)
设置API请求的用户授权码,仅用于批量API调用请求。
|
void |
setBody(FileItem body) |
void |
setCharset(String charset) |
void |
setProxyAppKey(String proxyAppKey) |
void |
setSignature(String signature) |
void |
setTimestamp(Long timestamp) |
void |
setTopApiCallType(String topApiCallType) |
void |
setTopApiFormat(String topApiFormat) |
void |
setTopApiVersion(String topApiVersion) |
void |
setTopContentType(String topContentType) |
void |
setTopHttpMethod(String topHttpMethod) |
void |
setTopResponseType(String topResponseType) |
public void setAlgorithm(String algorithm)
public String getAlgorithm()
public void setBody(FileItem body)
public FileItem getBody()
public void setCharset(String charset)
public String getCharset()
public void setProxyAppKey(String proxyAppKey)
public String getProxyAppKey()
public void setSignature(String signature)
public String getSignature()
public Long getTimestamp()
TaobaoRequestgetTimestamp 在接口中 TaobaoRequest<SignatureValidateResponse>public void setTimestamp(Long timestamp)
public String getApiMethodName()
TaobaoRequestgetApiMethodName 在接口中 TaobaoRequest<SignatureValidateResponse>public String getTopContentType()
TaobaoRequestgetTopContentType 在接口中 TaobaoRequest<SignatureValidateResponse>public void setTopContentType(String topContentType)
public String getTopResponseType()
TaobaoRequestgetTopResponseType 在接口中 TaobaoRequest<SignatureValidateResponse>public void setTopResponseType(String topResponseType)
public String getTopApiVersion()
TaobaoRequestgetTopApiVersion 在接口中 TaobaoRequest<SignatureValidateResponse>public void setTopApiVersion(String topApiVersion)
public String getTopApiFormat()
public void setTopApiFormat(String topApiFormat)
public String getTopApiCallType()
TaobaoRequestgetTopApiCallType 在接口中 TaobaoRequest<SignatureValidateResponse>public void setTopApiCallType(String topApiCallType)
public String getTopHttpMethod()
TaobaoRequestgetTopHttpMethod 在接口中 TaobaoRequest<SignatureValidateResponse>public void setTopHttpMethod(String topHttpMethod)
public Map<String,String> getTextParams()
TaobaoRequestgetTextParams 在接口中 TaobaoRequest<SignatureValidateResponse>public Map<String,FileItem> getFileParams()
TaobaoUploadRequestgetFileParams 在接口中 TaobaoUploadRequest<SignatureValidateResponse>public Class<SignatureValidateResponse> getResponseClass()
TaobaoRequestpublic void check()
throws ApiRuleException
TaobaoRequestcheck 在接口中 TaobaoRequest<SignatureValidateResponse>ApiRuleExceptionpublic Map<String,String> getHeaderMap()
TaobaoRequestgetHeaderMap 在接口中 TaobaoRequest<SignatureValidateResponse>public String getTargetAppKey()
TaobaoRequestpublic String getBatchApiSession()
TaobaoRequestgetBatchApiSession 在接口中 TaobaoRequest<SignatureValidateResponse>public void setBatchApiSession(String session)
TaobaoRequestsetBatchApiSession 在接口中 TaobaoRequest<SignatureValidateResponse>session - 用户授权码public int getBatchApiOrder()
TaobaoRequestgetBatchApiOrder 在接口中 TaobaoRequest<SignatureValidateResponse>public void setBatchApiOrder(int order)
TaobaoRequestsetBatchApiOrder 在接口中 TaobaoRequest<SignatureValidateResponse>order - 顺序值Copyright © 2020. All rights reserved.