Uses of Interface
org.springframework.validation.method.MethodValidator
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.
Generic support classes for handler method processing.
Infrastructure for handler method processing.
-
Uses of MethodValidator in org.springframework.validation.beanvalidation
Modifier and TypeClassDescriptionclass
MethodValidator
that uses a Bean ValidationValidator
for validation, and adaptsConstraintViolation
s toMethodValidationResult
. -
Uses of MethodValidator in org.springframework.web.method.annotation
Modifier and TypeClassDescriptionfinal class
MethodValidator
that uses Bean Validation to validate@RequestMapping
method arguments.Modifier and TypeMethodDescriptionstatic MethodValidator
HandlerMethodValidator.from
(WebBindingInitializer initializer, ParameterNameDiscoverer paramNameDiscoverer, Predicate<MethodParameter> modelAttributePredicate, Predicate<MethodParameter> requestParamPredicate) Static factory method to create aHandlerMethodValidator
when Bean Validation is enabled for use viaConfigurableWebBindingInitializer
, for example in Spring MVC or WebFlux config. -
Uses of MethodValidator in org.springframework.web.method.support
Modifier and TypeMethodDescriptionvoid
InvocableHandlerMethod.setMethodValidator
(MethodValidator methodValidator) Set theMethodValidator
to perform method validation with if the controller methodHandlerMethod.shouldValidateArguments()
orHandlerMethod.shouldValidateReturnValue()
. -
Uses of MethodValidator in org.springframework.web.reactive.result.method
Modifier and TypeMethodDescriptionvoid
InvocableHandlerMethod.setMethodValidator
(MethodValidator methodValidator) Set theMethodValidator
to perform method validation with if the controller methodHandlerMethod.shouldValidateArguments()
orHandlerMethod.shouldValidateReturnValue()
.