org.springframework.boot.test.autoconfigure.web.client

Annotation Type RestClientTest

    • Element Detail

      • value

        @AliasFor(value="components")
        public abstract Class<?>[] value
        Specifies the components to test. This is an alias of components() which can be used for brevity if no other attributes are defined. See components() for details.
        Returns:
        the components to test
        See Also:
        components()
        Default:
        {}
      • components

        @AliasFor(value="value")
        public abstract Class<?>[] components
        Specifies the components to test. May be left blank if components will be manually imported or created directly.
        Returns:
        the components to test
        See Also:
        value()
        Default:
        {}
      • useDefaultFilters

        public abstract boolean useDefaultFilters
        Determines if default filtering should be used with @SpringBootApplication. By default only @JsonComponent and Module beans are included.
        Returns:
        if default filters should be used
        See Also:
        includeFilters(), excludeFilters()
        Default:
        true
      • includeFilters

        public abstract ComponentScan.Filter[] includeFilters
        A set of include filters which can be used to add otherwise filtered beans to the application context.
        Returns:
        include filters to apply
        Default:
        {}
      • excludeFilters

        public abstract ComponentScan.Filter[] excludeFilters
        A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
        Returns:
        exclude filters to apply
        Default:
        {}