Skip to main content

HandlerMethodArgumentResolver

Learn HandlerMethodArgumentResolver (Advanced Spring MVC, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Fresher Notes HandlerMethodArgumentResolver is the Spring MVC strategy interface that turns one method parameter of a controller into a value from the current request. Contract : supportsParameter(MethodParameter) and resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) . Everything is a resolver : @RequestParam , @PathVariable , @RequestBody , Model and HttpServletRequest each have a built-in resolver.

More lessons in Advanced Spring MVC