| Modifier and Type | Method and Description |
|---|---|
void |
AliyunAsyncHandler.onError(ApiException exception) |
| Modifier and Type | Method and Description |
|---|---|
<T extends AliyunResponse> |
DefaultAliyunClient._execute(AliyunRequest<T> request,
AliyunParser<T> parser) |
<T extends AliyunResponse> |
DefaultAliyunClient.doPost(AliyunRequest<T> request) |
<T extends AliyunResponse> |
DefaultAliyunClient.execute(AliyunRequest<T> request) |
<T extends AliyunResponse> |
AliyunClient.execute(AliyunRequest<T> request)
执行阿里云API请求。
|
<T extends AliyunResponse> |
DefaultAliyunClient.executeAsync(AliyunRequest<T> request,
AliyunAsyncHandler<T> asyncHandler) |
<T extends AliyunResponse> |
AliyunClient.executeAsync(AliyunRequest<T> request,
AliyunAsyncHandler<T> asyncHandler)
异步执行阿里云API请求。
|
Class<T> |
AliyunParser.getResponseClass()
获取响应类类型。
|
T |
AliyunParser.parse(String rsp)
把响应字符串解释成相应的领域对象。
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
Converters.convert(Class<T> clazz,
Reader reader)
使用指定 的读取器去转换字符串为对象。
|
static String |
RequestBodyConverter.getRequestBody(Object taobaoRequest,
String type) |
<T extends AliyunResponse> |
Converter.toResponse(String rsp,
Class<T> clazz)
把字符串转换为响应对象。
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
JsonConverter.fromJson(Map<?,?> json,
Class<T> clazz)
把JSON格式的数据转换为对象。
|
<T> T |
SimplifyJsonConverter.fromJson(Map<?,?> json,
Class<T> clazz)
把JSON格式的数据转换为对象。
|
T |
ObjectJsonParser.parse(String rsp) |
<T extends AliyunResponse> |
JsonConverter.toResponse(String rsp,
Class<T> clazz) |
<T extends AliyunResponse> |
SimplifyJsonConverter.toResponse(String rsp,
Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
T |
ObjectXmlParser.parse(String rsp) |
<T extends AliyunResponse> |
XmlConverter.toResponse(String rsp,
Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
<T extends TaobaoResponse> |
DefaultDingTalkClient.execute(TaobaoRequest<T> request,
String session) |
<T extends TaobaoResponse> |
DefaultDingTalkClient.execute(TaobaoRequest<T> request,
String accessKey,
String accessSecret) |
<T extends TaobaoResponse> |
DingTalkClient.execute(TaobaoRequest<T> request,
String accessKey,
String accessSecret)
使用签名方式访问
|
<T extends TaobaoResponse> |
DefaultDingTalkClient.execute(TaobaoRequest<T> request,
String accessKey,
String accessSecret,
String suiteTicket) |
<T extends TaobaoResponse> |
DingTalkClient.execute(TaobaoRequest<T> request,
String accessKey,
String accessSecret,
String suiteTicket) |
<T extends TaobaoResponse> |
DefaultDingTalkClient.execute(TaobaoRequest<T> request,
String accessKey,
String accessSecret,
String suiteTicket,
String corpId) |
<T extends TaobaoResponse> |
DingTalkClient.execute(TaobaoRequest<T> request,
String accessKey,
String accessSecret,
String suiteTicket,
String corpId) |
| Modifier and Type | Method and Description |
|---|---|
<T extends QimenResponse> |
QimenClient.execute(QimenRequest<T> request)
执行公开API请求。
|
<T extends QimenResponse> |
DefaultQimenClient.execute(QimenRequest<T> request) |
<T extends QimenResponse> |
QimenClient.execute(QimenRequest<T> request,
String session)
执行隐私API请求。
|
<T extends QimenResponse> |
DefaultQimenClient.execute(QimenRequest<T> request,
String session) |
| Modifier and Type | Method and Description |
|---|---|
QimenCloudResponse |
DefaultQimenCloudClient.execute(QimenCloudRequest request) |
QimenCloudResponse |
QimenCloudClient.execute(QimenCloudRequest request)
执行API请求。
|
QimenCloudResponse |
DefaultQimenCloudClient.execute(QimenCloudRequest request,
String session) |
QimenCloudResponse |
QimenCloudClient.execute(QimenCloudRequest request,
String session)
执行隐私API请求。
|
| Modifier and Type | Class and Description |
|---|---|
class |
ApiRuleException
API前置检查异常。
|
| Modifier and Type | Method and Description |
|---|---|
<T extends TaobaoResponse> |
TaobaoClient.execute(TaobaoRequest<T> request)
执行公开API请求。
|
<T extends TaobaoResponse> |
DefaultTaobaoClient.execute(TaobaoRequest<T> request) |
<T extends TaobaoResponse> |
AutoRetryTaobaoClient.execute(TaobaoRequest<T> request) |
<T extends TaobaoResponse> |
BatchTaobaoClient.execute(TaobaoRequest<T> request,
String session) |
<T extends TaobaoResponse> |
TaobaoClient.execute(TaobaoRequest<T> request,
String session)
执行隐私API请求。
|
<T extends TaobaoResponse> |
DefaultTaobaoClient.execute(TaobaoRequest<T> request,
String session) |
<T extends TaobaoResponse> |
AutoRetryTaobaoClient.execute(TaobaoRequest<T> request,
String session) |
Class<T> |
TaobaoParser.getResponseClass()
获取响应类类型。
|
protected RequestParametersHolder |
DefaultTaobaoClient.invokeApi(RequestDTO request,
String session,
long start) |
T |
TaobaoParser.parse(String rsp,
String responseType)
把响应字符串解释成相应的领域对象。
|
| Constructor and Description |
|---|
AutoRetryClusterTaobaoClient(String serverUrl,
String appKey,
String appSecret)
Deprecated.
|
AutoRetryClusterTaobaoClient(String serverUrl,
String appKey,
String appSecret,
String format)
Deprecated.
|
AutoRetryClusterTaobaoClient(String serverUrl,
String appKey,
String appSecret,
String format,
int connectTimeout,
int readTimeout)
Deprecated.
|
AutoRetryClusterTaobaoClient(String serverUrl,
String appKey,
String appSecret,
String format,
int connectTimeout,
int readTimeout,
String signMethod)
Deprecated.
|
ClusterTaobaoClient(String serverUrl,
String appKey,
String appSecret) |
ClusterTaobaoClient(String serverUrl,
String appKey,
String appSecret,
String format) |
ClusterTaobaoClient(String serverUrl,
String appKey,
String appSecret,
String format,
int connectTimeout,
int readTimeout) |
ClusterTaobaoClient(String serverUrl,
String appKey,
String appSecret,
String format,
int connectTimeout,
int readTimeout,
String signMethod) |
| Modifier and Type | Method and Description |
|---|---|
abstract <T extends TaobaoResponse> |
BatchFeature.clientExecute(TaobaoRequest<T> request,
String session) |
abstract <T extends TaobaoResponse> |
AutoRetryFeature.clientExecute(TaobaoRequest<T> request,
String session) |
<T extends TaobaoResponse> |
BatchFeature.execute(TaobaoRequest<T> request,
String session) |
<T extends TaobaoResponse> |
AutoRetryFeature.execute(TaobaoRequest<T> request,
String session) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
Converters.convert(Class<T> clazz,
Reader reader,
String responseType)
使用指定 的读取器去转换字符串为对象。
|
List<?> |
Reader.getListObjects(Object listName,
Object itemName,
Class<?> subType)
读取多个对象的值。
|
Object |
Reader.getObject(Object name,
Class<?> type)
读取单个自定义对象。
|
<T> T |
Converter.toResponse(String rsp,
Class<T> clazz)
把字符串转换为响应对象。
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
JsonConverter.fromJson(Map<?,?> json,
Class<T> clazz)
把JSON格式的数据转换为对象。
|
<T> T |
SimplifyJsonConverter.fromJson(Map<?,?> json,
Class<T> clazz)
把JSON格式的数据转换为对象。
|
T |
ObjectJsonParser.parse(String rsp,
String responseType) |
<T> T |
JsonConverter.toResponse(String rsp,
Class<T> clazz) |
<T> T |
SimplifyJsonConverter.toResponse(String rsp,
Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
T |
QimenXmlParser.parse(String rsp,
String responseType) |
T |
ObjectXmlParser.parse(String rsp,
String responseType) |
<T> T |
XmlConverter.toResponse(String rsp,
Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
SignatureValidateResponse |
SignatureCheckClient.invokeRemote(String appKey,
byte[] body,
String algorithm,
String signature,
String charset) |
| Modifier and Type | Method and Description |
|---|---|
static String |
XmlUtils.childNodeToString(Node node)
Converts the Node/Element instance to XML payload.
|
static Element |
XmlUtils.createRootElement(String tagName)
Creates a root element as well as a new document with specific tag name.
|
static File |
AtsUtils.download(String url,
File toDir)
通过HTTP GET方式下载文件到指定的目录。
|
static File |
AtsUtils.download(String url,
File toDir,
String fileName)
通过HTTP GET方式下载文件到指定的目录。
|
static String |
XmlUtils.encodeXml(String payload)
Encode the XML payload to legality character.
|
static Document |
XmlUtils.getDocument(File file)
Parses the content of the given XML file as an XML document.
|
static Document |
XmlUtils.getDocument(InputSource xml,
InputStream xsd)
Parses the content of the given stream as an XML document.
|
static Element |
XmlUtils.getRootElementFromFile(File xml)
Gets the root element from given XML file.
|
static Element |
XmlUtils.getRootElementFromStream(InputStream xml)
Gets the root element from input stream.
|
static Element |
XmlUtils.getRootElementFromStream(InputStream xml,
InputStream xsd)
Gets the root element from input stream.
|
static Element |
XmlUtils.getRootElementFromString(String payload)
Gets the root element from the given XML payload.
|
static Document |
XmlUtils.newDocument()
Creates a new document instance.
|
static String |
XmlUtils.nodeToString(Node node)
Converts the Node/Document/Element instance to XML payload.
|
static <T extends TaobaoResponse> |
TaobaoUtils.parseResponse(String json,
Class<T> clazz)
把JSON字符串解释为对象结构。
|
static void |
XmlUtils.saveToXml(Node doc,
File file)
Saves the node/document/element as XML file.
|
static void |
XmlUtils.saveToXml(Node doc,
File file,
String charset)
Saves the node/document/element as XML file.
|
static void |
XmlUtils.validateXml(InputStream xml,
InputStream xsd)
Validates the XML file via the given XML schema file.
|
static void |
XmlUtils.validateXml(Node root,
InputStream xsd)
Validates the XML file via the given XML schema file.
|
static String |
XmlUtils.xmlToHtml(String payload,
File xsltFile)
Transforms the XML content to XHTML/HTML format string with the XSL.
|
static String |
XmlUtils.xmlToString(File file)
Converts the an XML file to XML payload.
|
static String |
XmlUtils.xmlToString(InputStream in)
Converts the an XML file input stream to XML payload.
|
| Modifier and Type | Method and Description |
|---|---|
SecretContext |
SecurityCore.getSecret(String session,
Long secretVersion) |
void |
SecurityClient.initSecret()
初始化秘钥(如果半小时内会调用加、解密方法,建议先初始化秘钥)。所有用户共用秘钥
|
void |
SecurityClient.initSecret(String session)
初始化秘钥(如果半小时内会调用加、解密方法,建议先初始化秘钥)。每个用户单独分配秘钥
|
Copyright © 2021. All rights reserved.