程序包的使用
cn.taketoday.validation.beanvalidation
程序包
说明
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator) into a Framework ApplicationContext
and in particular with Framework's data binding and validation APIs.
-
类说明Adapter that takes a JSR-303
javax.validator.Validatorand exposes it as a FrameworkValidatorwhile also exposing the original JSR-303 Validator interface itself.This is the central class forjakarta.validation(JSR-303) setup in a Framework application context: It bootstraps ajakarta.validation.ValidationFactoryand exposes it through the FrameworkValidatorinterface as well as through the JSR-303Validatorinterface and theValidatorFactoryinterface itself.A filter for excluding types from method validation.A convenientBeanPostProcessorimplementation that delegates to a JSR-303 provider for performing method-level validation on annotated methods.