For the latest stable version, please use Spring Framework 6.2.0!spring-doc.cn

WebClient

Spring WebFlux includes a client to perform HTTP requests with. WebClient has a functional, fluent API based on Reactor, see Reactive Libraries, which enables declarative composition of asynchronous logic without the need to deal with threads or concurrency. It is fully non-blocking, it supports streaming, and relies on the same codecs that are also used to encode and decode request and response content on the server side.spring-doc.cn

WebClient needs an HTTP client library to perform requests with. There is built-in support for the following:spring-doc.cn