public interface UcloudHttp
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
doGet(BaseRequestParam param,
UcloudConfig config,
UcloudHandler handler,
Boolean... asyncFlag)
http get 请求
|
Object |
doPost(BaseRequestParam param,
UcloudConfig config,
UcloudHandler handler,
Boolean... asyncFlag)
http post 请求
|
Object doGet(BaseRequestParam param, UcloudConfig config, UcloudHandler handler, Boolean... asyncFlag) throws Exception
param - 请求参数对象config - 请求环境配置信息handler - 请求结果处理器asyncFlag - 异步标记位 默认true,请求处理器不为NULL时候有效Exception - 同步非回调时,有异常则抛出异常Object doPost(BaseRequestParam param, UcloudConfig config, UcloudHandler handler, Boolean... asyncFlag) throws Exception
param - 请求参数对象config - 请求环境配置信息handler - 请求结果处理器asyncFlag - 异步标记位 默认true,请求处理器不为NULL时候有效Exception - 同步非回调时,有异常则抛出异常Copyright © 2018. All rights reserved.