The state of HTTP clients in Spring
This is a new blog post in the Road to GA series, this time exploring the new capabilities of our HTTP clients.
This is also a good time to reflect on the state of HTTP clients in Spring, so we will use this opportunity to explain an important announcement: we are officially deprecating RestTemplate
.
Upcoming RestClient features
RestClient has been introduced in Spring Framework 6.1 and evolved in the 6.x line. In the upcoming 7.0 major version we are keeping up the pace with a round of new features.
API Versioning
Spring @Controller
now supports the API Versioning concept to better implement different generations of your REST API within a single application.
This feature is also supported on the client side, by using an ApiVersionInserter
…