Spring Boot 4 HTTP Service Clients: @HttpExchange Interfaces with RestClient (Complete Guide)
A complete guide to the Spring Boot HTTP Service Client on Boot 4.1.2 and Spring Framework 7.0.10: @HttpExchange interfaces on RestClient, @ImportHttpServices groups configured with spring.http.serviceclient.*, error handling with defaultStatusHandler and ProblemDetail, retries with Framework 7 @Retryable, bearer, API key and OAuth2 client-credentials auth, testing with MockRestServiceServer and a real local server, and an OpenFeign comparison and migration. Every output was captured from a runnable module, and corrections to the first version are listed.