内容简介:Retrofit 2.4.0 已发布,Retrofit 是一个类型安全的 REST 客户端,用于 Android 平台。该版本引入了一些新特性,以及修复 bug。 更新内容 New: Retrofit.Builder exposes mutable lists of the added converte...
Retrofit 2.4.0 已发布,Retrofit 是一个类型安全的 REST 客户端,用于 Android 平台。该版本引入了一些新特性,以及修复 bug。
New:
Retrofit.Builderexposes mutable lists of the added converter and call adapter factories.New: Call adapter added for Scala's
Future.New: Converter for JAXB replaces the now-deprecated converter for Simple XML Framework.
New: Add Java 9 automatic module names for each artifact corresponding to their root package.
Fix: Do not swallow
Errors from callbacks (usuallyOutOfMemoryError).Fix: Moshi and Gson converters now assert that the full response was consumed. This prevents hiding bugs in faulty adapters which might not have consumed the full JSON input which would then cause failures on the next request over that connection.
Fix: Do not conflate OkHttp
Callcancelation with RxJava unsubscription/disposal. Prior to this change, canceling of aCallwould prevent a cancelation exception from propagating down the Rx stream.
源码下载:https://github.com/square/retrofit/releases/tag/parent-2.4.0
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- 支付宝客户端架构解析:iOS 客户端启动性能优化初探
- 自己动手做数据库客户端: BashSQL开源数据库客户端
- 支付宝客户端架构解析:Android 客户端启动速度优化之「垃圾回收」
- 客户端HTTP缓存
- 简析移动客户端安全
- 配置Hadoop集群客户端
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
激荡十年,水大鱼大
吴晓波 / 中信出版社 / 2017-11-1 / CNY 58.00
【编辑推荐】 知名财经作者吴晓波新作,畅销十年、销量超过两百万册的《激荡三十年》续篇,至此完成改革开放四十年企业史完整记录。 作为时代记录者,吴晓波有意识地从1978年中国改革开放伊始,记录中国翻天覆地的变化和对我们影响至深的人物与事件,串成一部我们每个人的时代激荡史。而最新的这十年,无疑更壮观,也更扑朔迷离。 很多事情,在当时并未有很深很透的感受,回过头来再看,可能命运的轨迹就......一起来看看 《激荡十年,水大鱼大》 这本书的介绍吧!
在线进制转换器
各进制数互转换器
Markdown 在线编辑器
Markdown 在线编辑器