Uses of Interface
org.springframework.validation.method.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.
Abstractions and support classes for method validation, independent of the
underlying validation library.
Support classes for annotation-based handler method processing.
-
Uses of MethodValidationResult in org.springframework.validation.beanvalidation
Modifier and TypeMethodDescriptionfinal MethodValidationResult
MethodValidationAdapter.validateArguments
(Object target, Method method, MethodParameter[] parameters, Object[] arguments, Class<?>[] groups) final MethodValidationResult
MethodValidationAdapter.validateReturnValue
(Object target, Method method, MethodParameter returnType, Object returnValue, Class<?>[] groups) -
Uses of MethodValidationResult in org.springframework.validation.method
Modifier and TypeMethodDescriptionstatic MethodValidationResult
MethodValidationResult.create
(Object target, Method method, List<ParameterValidationResult> results) Factory method to create aMethodValidationResult
instance.static MethodValidationResult
MethodValidationResult.emptyResult()
Factory method to create aMethodValidationResult
instance with 0 errors, suitable to use as a constant.MethodValidator.validateArguments
(Object target, Method method, MethodParameter[] parameters, Object[] arguments, Class<?>[] groups) Validate the given method arguments and return validation results.MethodValidator.validateReturnValue
(Object target, Method method, MethodParameter returnType, Object returnValue, Class<?>[] groups) Validate the given return value and return the result of validation. -
Uses of MethodValidationResult in org.springframework.web.method.annotation
Modifier and TypeClassDescriptionclass
ResponseStatusException
that is alsoMethodValidationResult
.Modifier and TypeMethodDescriptionHandlerMethodValidator.validateArguments
(Object target, Method method, MethodParameter[] parameters, Object[] arguments, Class<?>[] groups) HandlerMethodValidator.validateReturnValue
(Object target, Method method, MethodParameter returnType, Object returnValue, Class<?>[] groups) ModifierConstructorDescriptionHandlerMethodValidationException
(MethodValidationResult validationResult) HandlerMethodValidationException
(MethodValidationResult validationResult, Predicate<MethodParameter> modelAttribitePredicate, Predicate<MethodParameter> requestParamPredicate)