Retrofit所有知识场景汇总

https://futurestud.io/blog/retrofit-getting-started-and-android-client

 

Retrofit Series Overview

  1. Getting Started and Create an Android Client
  2. Basic Authentication on Android
  3. Token Authentication on Android
  4. OAuth on Android
  5. Multiple Query Parameters of Same Name
  6. Synchronous and Asynchronous Requests
  7. Send Objects in Request Body
  8. Define a Custom Response Converter
  9. Add Custom Request Header
  10. Optional Query Parameters
  11. How to Integrate XML Converter
  12. Using the Log Level to Debug Requests
  13. How to Upload Files to Server
  14. Series Round-Up
  15. Retrofit 2 — Upgrade Guide from 1.9
  16. Retrofit 2 — How to Upload Files to Server
  17. Retrofit 2 — Log Requests and Responses
  18. Retrofit 2 — Hawk Authentication on Android
  19. Retrofit 2 — Simple Error Handling
  20. How to use OkHttp 3 with Retrofit 1
  21. Retrofit 2 — Book Update & Release Celebration
  22. Send Data Form-Urlencoded
  23. Send Data Form-Urlencoded Using FieldMap
  24. Retrofit 2 — Manage Request Headers in OkHttp Interceptor
  25. Retrofit 2 — How to Add Query Parameters to Every Request
  26. Retrofit 2 — Add Multiple Query Parameter With QueryMap
  27. Retrofit 2 — How to Use Dynamic Urls for Requests
  28. Retrofit 2 — Url Handling, Resolution and Parsing
  29. Retrofit 2 — Constant, Default and Logic Values for POST and PUT Requests
  30. Retrofit 2 — How to Download Files from Server
  31. Retrofit 2 — Cancel Requests
  32. Retrofit 2 — Reuse and Analyze Requests
  33. Retrofit 2 — How to Change API Base Url at Runtime
  34. Optional Path Parameters
  35.  How to Refresh an Access Token
  36. Retrofit 2 — How to Send Plain Text Request Body
  37.  Retrofit 2 — Pagination Using Query Parameter
  38.  Retrofit 2 — Pagination Using Link Header and Dynamic Urls (Like GitHub)
  39.  Retrofit 2 — Pagination Using Range Header Fields (Like Heroku)
  40. Retrofit 2 — Introduction to (Multiple) Converters
  41. Retrofit 2 — Adding & Customizing the Gson Converter
  42.  Retrofit 2 — Implementing Custom Converters
  43. Retrofit 2 — Enable Logging for Development Builds Only
  44. Retrofit 2 — How to Upload Multiple Files to Server
  45. Retrofit 2 — Passing Multiple Parts Along a File with @PartMap
  46.  Retrofit 2 — Basics of Mocking Server Responses
  47.  Retrofit 2 — Customizing Network Behavior of Mocked Server Responses

转载于:https://www.cnblogs.com/krislight1105/p/5467969.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值