Class MockMvcSnippetConfigurer

All Implemented Interfaces:
org.springframework.test.web.servlet.setup.MockMvcConfigurer

public final class MockMvcSnippetConfigurer extends SnippetConfigurer<MockMvcRestDocumentationConfigurer,MockMvcSnippetConfigurer> implements org.springframework.test.web.servlet.setup.MockMvcConfigurer
A configurer that can be used to configure the generated documentation snippets.
Since:
1.1.0
Author:
Andy Wilkinson
  • Method Details

    • afterConfigurerAdded

      public void afterConfigurerAdded(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder)
      Specified by:
      afterConfigurerAdded in interface org.springframework.test.web.servlet.setup.MockMvcConfigurer
    • beforeMockMvcCreated

      public org.springframework.test.web.servlet.request.RequestPostProcessor beforeMockMvcCreated(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder, org.springframework.web.context.WebApplicationContext context)
      Specified by:
      beforeMockMvcCreated in interface org.springframework.test.web.servlet.setup.MockMvcConfigurer