public interface UcloudHttp
| Modifier and Type | Method and Description |
|---|---|
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 © 2024. All rights reserved.