Spring 6의 REST Clients 3가지
starryeye:
이번 포스팅에서는 Spring 6 의 REST Clients 3가지를 예제를 통해 알아보겠다. Spring 공식 문서에 따르면 아래와 같이 소개하고 있다. The Spring Framework provides the following choices for making calls to REST endpoints: 1. RestTemplate - synchronous client with template method API. 2. WebClient - non-blocking, reactive client w fluent API. 3. HTTP Interface - annotated interface with generated, dynamic proxy implementation. 하나씩 예제로 다뤄보자.. ..