com.valubio.aliyun.api.AliyunClient Maven / Gradle / Ivy
The newest version!
package com.valubio.aliyun.api;
import com.valubio.taobao.api.ApiException;
import java.util.concurrent.Future;
public interface AliyunClient {
/**
* 执行阿里云API
*
* @param
* @param request a request
* @return
* @throws ApiException
*/
T execute(AliyunRequest request) throws ApiException;
/**
* 异步执行阿里云API
*
* @param
* @param request a request
* @return
* @throws ApiException
*/
Future executeAsync(AliyunRequest request, AliyunAsyncHandler asyncHandler) throws ApiException;
}