Add rest-client-test module: @RestClientTest on Boot 4.1, Jackson 3 by default, and the RestClient-vs-RestTemplate root-URI matching trap (post #49)

This commit is contained in:
Claude
2026-10-08 16:26:20 +00:00
parent 4370ac7fdf
commit 69190e3706
22 changed files with 685 additions and 0 deletions
@@ -0,0 +1,5 @@
== A 404 response from MockRestServiceServer surfaces as HttpClientErrorException.NotFound ==
requestTo("http://hr-api.example.com/employees/99") -> 404 Not Found
exception class = org.springframework.web.client.HttpClientErrorException$NotFound
exception.getStatusCode() = 404 NOT_FOUND