#argument-resolver
Posts
-
Digging into Spring's Source 22: Handler Mappings and Adapters — How @RequestMapping Methods Are Found and Called
When and where a method annotated with @GetMapping gets registered, which of several candidate methods wins for a request, who fills in the chosen method's arguments, and who turns its return value into a response — followed through the source of RequestMappingHandlerMapping and RequestMappingHandlerAdapter. Examples show the two different "ambiguous mapping" errors and exactly where a custom argument resolver slots in.