Uses of Interface
org.springframework.validation.beanvalidation.MethodValidationResult
Package
Description
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator) into a Spring ApplicationContext
and in particular with Spring's data binding and validation APIs.
Support classes for annotation-based handler method processing.
-
Uses of MethodValidationResult in org.springframework.validation.beanvalidation
Modifier and TypeClassDescriptionclass
Extension ofConstraintViolationException
that implementsMethodValidationResult
exposing an additional list ofParameterValidationResult
that represents violations adapted toMessageSourceResolvable
and grouped by method parameter.Modifier and TypeMethodDescriptionMethodValidationAdapter.validateMethodArguments
(Object target, Method method, MethodParameter[] parameters, Object[] arguments, Class<?>[] groups) Validate the given method arguments and return the result of validation.MethodValidationAdapter.validateMethodReturnValue
(Object target, Method method, MethodParameter returnType, Object returnValue, Class<?>[] groups) Validate the given return value and return the result of validation.Modifier and TypeMethodDescriptionprotected void
DefaultMethodValidator.handleArgumentsValidationResult
(Object bean, Method method, Object[] arguments, Class<?>[] groups, MethodValidationResult result) Subclasses can override this to handle the result of argument validation.protected void
DefaultMethodValidator.handleReturnValueValidationResult
(Object bean, Method method, Object returnValue, Class<?>[] groups, MethodValidationResult result) Subclasses can override this to handle the result of return value validation. -
Uses of MethodValidationResult in org.springframework.web.method.annotation
Modifier and TypeMethodDescriptionprotected void
HandlerMethodValidator.handleArgumentsValidationResult
(Object bean, Method method, Object[] arguments, Class<?>[] groups, MethodValidationResult result)