Uses of Interface
org.springframework.validation.method.MethodValidator
Packages that use 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
Classes in org.springframework.validation.beanvalidation that implement MethodValidatorModifier and TypeClassDescriptionclass
MethodValidator
that uses a Bean ValidationValidator
for validation, and adaptsConstraintViolation
s toMethodValidationResult
. -
Uses of MethodValidator in org.springframework.web.method.annotation
Classes in org.springframework.web.method.annotation that implement MethodValidatorModifier and TypeClassDescriptionfinal class
MethodValidator
that uses Bean Validation to validate@RequestMapping
method arguments.Methods in org.springframework.web.method.annotation that return MethodValidatorModifier and TypeMethodDescriptionstatic MethodValidator
HandlerMethodValidator.from
(WebBindingInitializer initializer, ParameterNameDiscoverer paramNameDiscoverer, Predicate<MethodParameter> modelAttribitePredicate, 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
Methods in org.springframework.web.method.support with parameters of type MethodValidatorModifier 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
Methods in org.springframework.web.reactive.result.method with parameters of type MethodValidatorModifier and TypeMethodDescriptionvoid
InvocableHandlerMethod.setMethodValidator
(MethodValidator methodValidator) Set theMethodValidator
to perform method validation with if the controller methodHandlerMethod.shouldValidateArguments()
orHandlerMethod.shouldValidateReturnValue()
.