public class FilteredMethodValidationPostProcessor
extends org.springframework.validation.beanvalidation.MethodValidationPostProcessor
MethodValidationPostProcessor
that applies
exclusion filters
.Constructor and Description |
---|
FilteredMethodValidationPostProcessor(java.util.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(java.util.stream.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. |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
createMethodValidationAdvice, setValidatedAnnotationType, setValidator, setValidatorFactory
isEligible, prepareProxyFactory, setBeanFactory
customizeProxyFactory, isEligible, postProcessAfterInitialization, postProcessBeforeInitialization, setBeforeExistingAdvisors
evaluateProxyInterfaces, getOrder, getProxyClassLoader, isConfigurationCallbackInterface, isInternalLanguageInterface, setBeanClassLoader, setOrder, setProxyClassLoader
public FilteredMethodValidationPostProcessor(java.util.stream.Stream<? extends MethodValidationExcludeFilter> excludeFilters)
FilteredMethodValidationPostProcessor
that will apply the
given excludeFilters
when identifying beans that are eligible for method
validation post-processing.excludeFilters
- filters to applypublic FilteredMethodValidationPostProcessor(java.util.Collection<? extends MethodValidationExcludeFilter> excludeFilters)
FilteredMethodValidationPostProcessor
that will apply the
given excludeFilters
when identifying beans that are eligible for method
validation post-processing.excludeFilters
- filters to apply