public class BatchTaobaoClient extends DefaultTaobaoClient
appKey, appSecret, connectTimeout, format, needCheckRequest, needEnableParser, readTimeout, serverUrl, signMethod, useGzipEncoding, useSimplifyJson| Constructor and Description |
|---|
BatchTaobaoClient(String serverUrl,
String appKey,
String appSecret) |
BatchTaobaoClient(String serverUrl,
String appKey,
String appSecret,
String format) |
BatchTaobaoClient(String serverUrl,
String appKey,
String appSecret,
String format,
int connectTimeout,
int readTimeout) |
BatchTaobaoClient(String serverUrl,
String appKey,
String appSecret,
String format,
int connectTimeout,
int readTimeout,
String signMethod) |
| Modifier and Type | Method and Description |
|---|---|
<T extends TaobaoResponse> |
execute(TaobaoRequest<T> request,
String session)
执行隐私API请求。
|
void |
setBatchApiSeparator(String batchApiSeparator) |
enableHttpDns, enableHttpDns, execute, getAppKey, getAppSecret, getConnectTimeout, getFormat, getProxy, getReadTimeout, getRealResponseType, getRequestUrl, getSdkVersion, getServerUrl, getSignMethod, getTopHttpDnsHost, invokeApi, isNeedCheckRequest, isNeedEnableParser, isUseGzipEncoding, isUseSimplifyJson, resetServerUrl, setConnectTimeout, setIgnoreSSLCheck, setNeedCheckRequest, setNeedEnableLogger, setNeedEnableParser, setProxy, setReadTimeout, setRealFormat, setUseGzipEncoding, setUseSimplifyJsonpublic BatchTaobaoClient(String serverUrl, String appKey, String appSecret, String format)
public BatchTaobaoClient(String serverUrl, String appKey, String appSecret, String format, int connectTimeout, int readTimeout)
public <T extends TaobaoResponse> T execute(TaobaoRequest<T> request, String session) throws ApiException
TaobaoClientexecute in interface TaobaoClientexecute in class DefaultTaobaoClientT - 具体的API响应类request - 具体的API请求类session - 用户授权码ApiExceptionpublic void setBatchApiSeparator(String batchApiSeparator)
Copyright © 2021. All rights reserved.