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
posted @ 2016-05-07 11:04  Leo的银弹  阅读(659)  评论(0编辑  收藏  举报