Uses of Package
org.springframework.validation.beanvalidation
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.
-
ClassDescriptionThis is the central class for
jakarta.validation
(JSR-303) setup in a Spring application context: It bootstraps ajakarta.validation.ValidationFactory
and exposes it through the SpringValidator
interface as well as through the JSR-303Validator
interface and theValidatorFactory
interface itself.Assist with applying method-level validation viaValidator
, adapt each resultingConstraintViolation
toParameterValidationResult
, and raiseMethodValidationException
.Contract to determine the object name of an@Valid
method parameter.Container for method validation results where underlyingviolations
have been adapted toParameterValidationResult
each containing a list ofMessageSourceResolvable
grouped by method parameter.Contract to apply method validation without directly usingMethodValidationAdapter
.Extension ofParameterValidationResult
that's created for Object method arguments or return values with cascaded violations on their properties.Store and expose the results of method validation viaValidator
for a specific method parameter.Adapter that takes a JSR-303javax.validator.Validator
and exposes it as a SpringValidator
while also exposing the original JSR-303 Validator interface itself. -
ClassDescriptionDefault implementation of
MethodValidator
that delegates to aMethodValidationAdapter
.Container for method validation results where underlyingviolations
have been adapted toParameterValidationResult
each containing a list ofMessageSourceResolvable
grouped by method parameter.Contract to apply method validation without directly usingMethodValidationAdapter
. -
ClassDescriptionContract to apply method validation without directly using
MethodValidationAdapter
. -
ClassDescriptionContract to apply method validation without directly using
MethodValidationAdapter
.