Uses of Interface
org.springframework.validation.beanvalidation.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
Default implementation ofMethodValidator
that delegates to aMethodValidationAdapter
. -
Uses of MethodValidator in org.springframework.web.method.annotation
Modifier and TypeClassDescriptionfinal class
MethodValidator
for use with@RequestMapping
methods.Modifier and TypeMethodDescriptionstatic MethodValidator
HandlerMethodValidator.from
(WebBindingInitializer bindingInitializer, ParameterNameDiscoverer parameterNameDiscoverer) Static factory method to create aHandlerMethodValidator
if Bean Validation is enabled in Spring MVC or WebFlux. -
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()
.