Class and Description |
---|
retrofit2.adapter.java8.Java8CallAdapterFactory
Retrofit includes support for CompletableFuture. This no longer needs to be added to
the Retrofit instance explicitly.
A call adapter which creates Java 8 futures. Adding this class to
There are two configurations supported for the CompletableFuture type parameter:
|
Exceptions and Description |
---|
retrofit2.adapter.java8.HttpException
Use
HttpException . |