i具有Android应用,其中我使用spring的RES REM板为Android。我还使用OkhttpClient。
我计划在我的应用程序中将OKHTTPCLIENT库升级到3.9.x,但这使用OKHTTPCLIENT3,RESTTEMPKATE使用Okhttpclient 2.x。
Android Spring的最后一个版本是几年前的 - 所以我的问题:
Android的春季仍在开发?
如果没有,您应该建议其他库作为Android的REST客户端?
Maven Central上有2.x里程碑版本:https://mvnrepository.com/artifact/org.springframework.android/spring-android-android-rest-template
2.0.0.M4 Spring Milestones 1 (Jul, 2017)
2.0.0.M3 Spring Milestones 4 (Jul, 2015)
2.0.0.M2 Spring Milestones 1 (Dec, 2014)
2.0.0.M1 Spring Milestones 2 (Sep, 2014)
看来,使用最新的OkhttpClient 3.x可能兼容。
一个更好的询问场所可能是github:https://github.com/spring-projects/spring-android
谢谢@tkruse。此2.0.0.M4版本与Okhttp3client兼容。我想 thah 2.0.0.m3是由于信息http://projects.spring.io/spring-android :)