public interface AliyunRequest<T extends AliyunResponse>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
check()
客户端参数检查,减少服务端无效调用
|
String |
getApiMethodName()
获取TOP的API名称。
|
Map<String,String> |
getHeaderMap()
添加HTTP请求头参数
|
Class<T> |
getResponseClass() |
Map<String,String> |
getTextParams()
获取所有的Key-Value形式的文本请求参数集合。
|
Long |
getTimestamp() |
void |
putOtherTextParam(String key,
String value)
添加自定义请求参数
|
void |
setTimestamp(Long timestamp)
设置时间戳,如果不设置,发送请求时将使用当时的时间。
|
String getApiMethodName()
Map<String,String> getTextParams()
Long getTimestamp()
void setTimestamp(Long timestamp)
timestamp - 时间戳void check()
throws ApiRuleException
ApiRuleExceptionCopyright © 2020. All rights reserved.