com.aliyun.api.AliyunClient Maven / Gradle / Ivy
package com.aliyun.api;
import java.util.concurrent.Future;
import com.taobao.api.ApiException;
/**
* aliyun sdk请求入口。
*
* @author lijie.ma
* @since 1.0, May 19, 2014
*/
public interface AliyunClient {
/**
* 执行阿里云API请求。
* @param
* @param request 具体的请求
* @return
* @throws ApiException
*/
public T execute(AliyunRequest request) throws ApiException ;
/**
* 异步执行阿里云API请求。
* @param
* @param request 具体的请求
* @return
* @throws ApiException
*/
public Future executeAsync(AliyunRequest request,AliyunAsyncHandler asyncHandler) throws ApiException ;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy