1. 28 9月, 2017 2 次提交
  2. 20 9月, 2017 4 次提交
  3. 19 9月, 2017 1 次提交
    • W
      Add Retrofit.Builder.converterFactories(). (#2476) · c95312ad
      Warren Smith 提交于
      * Add Retrofit.Builder.converterFactories().
      
      * Don't shift N converter factories.
      
      * Assert clone build exposes no interceptors.
      
      * Remove implementation detail test for when converters are added.
      
      * Ensure void response body handled by built-in converters.
      
      * Remove builtInConvertersRemainFirstInClone.
      
      * Test built in converters remain first in clone.
      c95312ad
  4. 03 8月, 2017 1 次提交
  5. 02 8月, 2017 1 次提交
  6. 19 7月, 2017 6 次提交
  7. 08 7月, 2017 1 次提交
  8. 07 7月, 2017 1 次提交
  9. 13 6月, 2017 2 次提交
  10. 03 6月, 2017 2 次提交
  11. 26 5月, 2017 2 次提交
  12. 17 5月, 2017 2 次提交
  13. 14 5月, 2017 9 次提交
  14. 13 5月, 2017 4 次提交
  15. 12 5月, 2017 2 次提交
    • J
      Use custom exception type when triggering mock failure. · 6108179c
      Jake Wharton 提交于
      Since we omit the stack trace, this more clearly indicates the source being from Retrofit's mock behavior.
      6108179c
    • J
      Add converters which facilitate the use of Optional. · e985d552
      Jake Wharton 提交于
      Both Java 8 and Guava are supported, just like in the adapters.
      
      This is especially useful in the use of RxJava 2 as it does not allow null values in the stream. This means a return type declaration of Single<BodyType> might result in an NPE should a converter deserialize the response body into null. By adding one of these delegating converters before your normal converter, it allows you to use Single<Optional<BodyType>> to support this case.
      e985d552