public abstract class BatchFeature extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BATCH_API_DEFAULT_SPLIT |
static String |
BATCH_API_HEADER_SPLIT |
static String |
BATCH_API_PUBLIC_PARAMETER |
| Constructor and Description |
|---|
BatchFeature() |
| Modifier and Type | Method and Description |
|---|---|
abstract <T extends TaobaoResponse> |
clientExecute(TaobaoRequest<T> request,
String session) |
<T extends TaobaoResponse> |
execute(TaobaoRequest<T> request,
String session) |
String |
getBatchServerUrl() |
void |
init(String batchServerUrl,
DefaultTaobaoClient client) |
void |
setBatchApiSeparator(String batchApiSeparator)
设置批量API请求的自定义分隔符。
|
void |
setBatchServerUrl(String batchServerUrl) |
public static final String BATCH_API_HEADER_SPLIT
public static final String BATCH_API_PUBLIC_PARAMETER
public static final String BATCH_API_DEFAULT_SPLIT
public void init(String batchServerUrl, DefaultTaobaoClient client)
public <T extends TaobaoResponse> T execute(TaobaoRequest<T> request, String session) throws ApiException
ApiExceptionpublic void setBatchApiSeparator(String batchApiSeparator)
public String getBatchServerUrl()
public void setBatchServerUrl(String batchServerUrl)
public abstract <T extends TaobaoResponse> T clientExecute(TaobaoRequest<T> request, String session) throws ApiException
ApiExceptionCopyright © 2021. All rights reserved.