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 TypeClassDescriptionclassMethodValidatorthat uses a Bean ValidationValidatorfor validation, and adaptsConstraintViolations toMethodValidationResult. -
Uses of MethodValidator in org.springframework.web.method.annotation
Classes in org.springframework.web.method.annotation that implement MethodValidatorModifier and TypeClassDescriptionfinal classMethodValidatorthat uses Bean Validation to validate@RequestMappingmethod arguments.Methods in org.springframework.web.method.annotation that return MethodValidatorModifier and TypeMethodDescriptionstatic @Nullable MethodValidatorHandlerMethodValidator.from(@Nullable WebBindingInitializer initializer, @Nullable ParameterNameDiscoverer paramNameDiscoverer, Predicate<MethodParameter> modelAttributePredicate, Predicate<MethodParameter> requestParamPredicate) Static factory method to create aHandlerMethodValidatorwhen 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 TypeMethodDescriptionvoidInvocableHandlerMethod.setMethodValidator(@Nullable MethodValidator methodValidator) Set theMethodValidatorto 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 TypeMethodDescriptionvoidInvocableHandlerMethod.setMethodValidator(@Nullable MethodValidator methodValidator) Set theMethodValidatorto perform method validation with if the controller methodHandlerMethod.shouldValidateArguments()orHandlerMethod.shouldValidateReturnValue().