Class RestDocsMockMvcBuilderCustomizer

java.lang.Object
org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcBuilderCustomizer
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, MockMvcBuilderCustomizer

public class RestDocsMockMvcBuilderCustomizer extends Object implements org.springframework.beans.factory.InitializingBean, MockMvcBuilderCustomizer
A MockMvcBuilderCustomizer that configures Spring REST Docs.
Since:
1.5.22
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • customize

      public void customize(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder)
      Description copied from interface: MockMvcBuilderCustomizer
      Customize the given builder.
      Specified by:
      customize in interface MockMvcBuilderCustomizer
      Parameters:
      builder - the builder