WebClient
- WebClient is an interface representing the main entry point for performing web requests.
- Created as part of the Spring Web Reactive module
- It is a reactive, non-blocking solution that works over the HTTP/1.1 protocol.
- Will be replacing
RestTemplate - The interface has a single implementation, the
DefaultWebClientclass - dependency:
spring-boot-starter-webflux