Package | Description |
---|---|
org.springframework.boot.autoconfigure.validation |
Auto-configuration for (JSR-303) Validation.
|
org.springframework.boot.validation.beanvalidation |
Utilities and classes related to bean validation.
|
Modifier and Type | Method and Description |
---|---|
static MethodValidationPostProcessor |
ValidationAutoConfiguration.methodValidationPostProcessor(Environment environment,
Validator validator,
ObjectProvider<MethodValidationExcludeFilter> excludeFilters) |
Modifier and Type | Method and Description |
---|---|
static MethodValidationExcludeFilter |
MethodValidationExcludeFilter.byAnnotation(Class<? extends Annotation> annotationType)
Factory method to create a
MethodValidationExcludeFilter that excludes
classes by annotation found using an inherited annotations search strategy . |
static MethodValidationExcludeFilter |
MethodValidationExcludeFilter.byAnnotation(Class<? extends Annotation> annotationType,
MergedAnnotations.SearchStrategy searchStrategy)
Factory method to create a
MethodValidationExcludeFilter that excludes
classes by annotation found using the given search strategy. |
Constructor and Description |
---|
FilteredMethodValidationPostProcessor(Collection<? extends MethodValidationExcludeFilter> excludeFilters)
Creates a new
FilteredMethodValidationPostProcessor that will apply the
given excludeFilters when identifying beans that are eligible for method
validation post-processing. |
FilteredMethodValidationPostProcessor(Stream<? extends MethodValidationExcludeFilter> excludeFilters)
Creates a new
FilteredMethodValidationPostProcessor that will apply the
given excludeFilters when identifying beans that are eligible for method
validation post-processing. |