mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-06 17:29:19 +00:00
Previously, a Webclient-based sender was only for reactive web applications, falling back to a RestTemplate-based sender in all other cases. With this commit we now prefer to use WebClient if it is available, irrespective of the web application type. The assumption is that if the user has WebClient on the classpath, it's either a reactive web application, or it's a servlet web application or non-web application but WebClient is preferred. See gh-32529