Interface RestDocsMockMvcConfigurationCustomizer

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface RestDocsMockMvcConfigurationCustomizer
    A customizer for MockMvcRestDocumentationConfigurer. If a RestDocsMockMvcConfigurationCustomizer bean is found in the application context it will be called to customize the MockMvcRestDocumentationConfigurer before it is applied. Intended for use only when the attributes on AutoConfigureRestDocs do not provide sufficient customization.
    Since:
    1.4.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voidcustomize​(org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer configurer)
      Customize the given configurer.
    • Method Detail

      • customize

        void customize​(org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer configurer)
        Customize the given configurer.
        Parameters:
        configurer - the configurer