HTTP Service Client Enhancements
In this 3rd blog post of the Road to GA series that’s highlighting major features within the Spring portfolio for the next major versions to be released in November we’ll have a look at new features for HTTP service clients, which are a collaborative effort across several Spring projects.
Introduction
Spring Framework 6 introduced the ability to define an HTTP service through a Java interface with @HttpExchange
-annotated methods. For example:
public interface MilestoneService {
@GetExchange("/repos/{org}/{repo}/milestones")
List<Milestone> getMilestones(@PathVariable String org…