사용자 도구

사이트 도구


java:retrofit

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
java:retrofit [2020/07/24 10:55]
kwon37xi
java:retrofit [2023/08/30 11:18] (현재)
kwon37xi
줄 1: 줄 1:
 ====== retrofit ====== ====== retrofit ======
   * https://square.github.io/retrofit/   * https://square.github.io/retrofit/
 +  * https://github.com/kwon37xi/research-retrofit-2 : 동기식 처리 기법
 +  * [[java:okhttp|OkHTTP]] 기반
   * [[springframework:feign|Fegin]]과 유사하게 HTTP Request 자동화. java/android 지원.   * [[springframework:feign|Fegin]]과 유사하게 HTTP Request 자동화. java/android 지원.
  
줄 7: 줄 9:
   * [[reactive_programming:rxjava|RxJava]]   * [[reactive_programming:rxjava|RxJava]]
   * [[java:8:completable_future|Java 8 CompletableFuture]] - ''retrofit2.CompletableFutureCallAdapterFactory''   * [[java:8:completable_future|Java 8 CompletableFuture]] - ''retrofit2.CompletableFutureCallAdapterFactory''
 +
 +===== Async / non-blocking IO 지원 =====
 +  * [[java:asynchttpclient|AsyncHttpClient]] 로 non-blocking IO 지원 가능.
 +  * [[https://github.com/AnkBurov/retrofit-http-client-adapter|AnkBurov/retrofit-http-client-adapter: An adapter between Retrofit and asynchronous non-blocking Java 11 Http Client]] : [[java:httpclient|Java 11 HttpClient]] 구현체로 non-blocking IO 하기
  
 ===== 참조 ===== ===== 참조 =====
   * [[https://futurestud.io/tutorials/retrofit-2-simple-error-handling|Retrofit 2 — Simple Error Handling]]   * [[https://futurestud.io/tutorials/retrofit-2-simple-error-handling|Retrofit 2 — Simple Error Handling]]
   * [[https://futurestud.io/tutorials/retrofit-2-how-to-detect-network-and-conversion-errors-in-onfailure|Retrofit 2 — How to Detect Network and Conversion Errors in onFailure]]   * [[https://futurestud.io/tutorials/retrofit-2-how-to-detect-network-and-conversion-errors-in-onfailure|Retrofit 2 — How to Detect Network and Conversion Errors in onFailure]]
 +  * [[https://stackoverflow.com/questions/24562716/how-to-retry-http-requests-with-okhttp-retrofit/31733634|How to retry HTTP requests with OkHttp/Retrofit?]]
 +  * [[https://stackoverflow.com/questions/32579754/retrying-the-request-using-retrofit-2|java - Retrying the request using Retrofit 2 - Stack Overflow]]
 +  * [[https://tosslab.github.io/android/2016/04/16/migration-to-retrofit2.html|Retrofit2 로 전환 | JANDI Tech]]
 +  * [[https://jungwoon.github.io/android/2019/07/11/Retrofit/|Retrofit2 정리하기 - Jungwoon Blog]]
java/retrofit.1595555751.txt.gz · 마지막으로 수정됨: 2020/07/24 10:55 저자 kwon37xi