Class RestDocsMockMvcBuilderCustomizer

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

public class RestDocsMockMvcBuilderCustomizer extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.boot.webmvc.test.autoconfigure.MockMvcBuilderCustomizer
A MockMvcBuilderCustomizer that configures Spring REST Docs.
Since:
4.0.0
  • 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)
      Specified by:
      customize in interface org.springframework.boot.webmvc.test.autoconfigure.MockMvcBuilderCustomizer