接口 MagicAPIService
- 所有已知实现类:
DefaultMagicAPIService
public interface MagicAPIService
API调用接口
-
方法概要
修饰符和类型方法说明<T> T执行MagicAPI中的接口,带code和message信息voiddownload(String groupId, List<SelectedResource> resources, OutputStream os) 下载<T> T执行MagicAPI中的接口,原始内容,不包含code以及message信息<T> T执行MagicAPI中的函数booleanprocessNotify(MagicNotify magicNotify) 处理刷新通知JsonBean<?> booleanupload(InputStream inputStream, String mode) 上传
-
方法详细资料
-
execute
执行MagicAPI中的接口,原始内容,不包含code以及message信息- 参数:
method- 请求方法path- 请求路径context- 变量信息
-
call
执行MagicAPI中的接口,带code和message信息- 参数:
method- 请求方法path- 请求路径context- 变量信息
-
invoke
执行MagicAPI中的函数- 参数:
path- 函数路径context- 变量信息
-
upload
上传- 抛出:
IOException
-
download
下载- 抛出:
IOException
-
push
-
processNotify
处理刷新通知
-