WebClient 왜 쓰는가?

Spring 서버에서 http 요청을 보내기 위한 방법은 여러가지가 있는데 (Apache HTTP 컴포넌트 인 HttpClient / Spring Framework 에서 지원하는 RestTemplate) 기존 Spring 개발자들이 제일 많이 사용하던 RestTemplate 이 Spring 에서 공식적으로 향후 deprecated 될 예정이므로 보다 현대적인 WebClient 를 사용하라고 권장하였기 때문에 도입



References

https://devsh.tistory.com/ https://ckddn9496.tistory.com/158 https://velog.io/@jaepani5015/WebClient