Class HandlerMethodValidator

java.lang.Object
org.springframework.web.method.annotation.HandlerMethodValidator
All Implemented Interfaces:
MethodValidator

public final class HandlerMethodValidator extends Object implements MethodValidator
MethodValidator that uses Bean Validation to validate @RequestMapping method arguments.

Handles validation results by populating BindingResult method arguments, if actually present in the method signature, with error information from beanResults. Also, helps to determine parameter names for @ModelAttribute, @RequestBody, and @RequestPart parameters.

Since:
6.1
Author:
Rossen Stoyanchev