Slide 15
Slide 15 text
HTTP Client Annotations and Proxies
● @HttpExchange, @PostExchange, @GetExchange, etc.
○ instead of @RequestMapping, @PostMapping, etc.
● Reuses several parameter-level annotations from Spring MVC
○ @RequestHeader, @PathVariable, @RequestBody, etc.
● HttpServiceProxyFactory: creates proxies for annotated client interfaces