목차
retrofit
비동기 지원 (async)
Async / non-blocking IO 지원
참조
retrofit
https://square.github.io/retrofit/
https://github.com/kwon37xi/research-retrofit-2
: 동기식 처리 기법
OkHTTP
기반
Fegin
과 유사하게 HTTP Request 자동화. java/android 지원.
비동기 지원 (async)
JakeWharton/retrofit2-reactor-adapter: A Project Reactor CallAdapter.Factory implementation for Retrofit 2.
Project Reactor
RxJava
Java 8 CompletableFuture
-
retrofit2.CompletableFutureCallAdapterFactory
Async / non-blocking IO 지원
AsyncHttpClient
로 non-blocking IO 지원 가능.
AnkBurov/retrofit-http-client-adapter: An adapter between Retrofit and asynchronous non-blocking Java 11 Http Client
:
Java 11 HttpClient
구현체로 non-blocking IO 하기
참조
Retrofit 2 — Simple Error Handling
Retrofit 2 — How to Detect Network and Conversion Errors in onFailure
How to retry HTTP requests with OkHttp/Retrofit?
java - Retrying the request using Retrofit 2 - Stack Overflow
Retrofit2 로 전환 | JANDI Tech
Retrofit2 정리하기 - Jungwoon Blog