Skip to content

Tags: freeunion1possible/okhttps

Tags

V1.0.2

Toggle V1.0.2's commit message
1、HTTP 新增方法:cancelAll() 取消所有请求

2、HTTP 新增方法:sync()、async()
3、HTTP cancel(String tag) 方法支持取消同步请求
4、优化 HttpResult.getError() 方法的返回类型:Exception -> IOException
5、TaskExecutor 新增 shutdown 方发
6、优化代码性能

V1.0.1

Toggle V1.0.1's commit message
1、当执行状态 != State.RESPONSED 时,调用 getHeaders 等方法时不再抛异常

2、HttpResult.toString 方法移除对 Body.toString 的调用,避免在Debug模式重复消费报文体问题
3、移除 HttpResult.getTask() 方法
4、优化 HttpCall.getResult() 的实现

V1.0.0

Toggle V1.0.0's commit message
1、移植 HttpUtils(https://gitee.com/ejlchina-zhxu/httputils) 的 V2.3.0

的所有功能;
2、包名重构:com.ejlchina.http -> com.ejlchina.okhttps。