Class FilteredMethodValidationPostProcessor

All Implemented Interfaces:
Serializable, AopInfrastructureBean, Aware, BeanClassLoaderAware, BeanFactoryAware, BeanPostProcessor, InstantiationAwareBeanPostProcessor, SmartInstantiationAwareBeanPostProcessor, InitializingBean, Ordered

public class FilteredMethodValidationPostProcessor extends MethodValidationPostProcessor
Since:
2.4.0
Author:
Andy Wilkinson
See Also:
  • Constructor Details

    • FilteredMethodValidationPostProcessor

      public 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.
      Parameters:
      excludeFilters - filters to apply
    • FilteredMethodValidationPostProcessor

      public 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.
      Parameters:
      excludeFilters - filters to apply
  • Method Details