Class MockMvcSnippetConfigurer
java.lang.Object
org.springframework.restdocs.config.AbstractConfigurer
org.springframework.restdocs.config.AbstractNestedConfigurer<PARENT>
org.springframework.restdocs.config.SnippetConfigurer<MockMvcRestDocumentationConfigurer,MockMvcSnippetConfigurer>
 
org.springframework.restdocs.mockmvc.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
 
- 
Field Summary
Fields inherited from class org.springframework.restdocs.config.SnippetConfigurer
DEFAULT_SNIPPET_ENCODING, DEFAULT_TEMPLATE_FORMAT - 
Method Summary
Modifier and TypeMethodDescriptionvoidafterConfigurerAdded(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder) org.springframework.test.web.servlet.request.RequestPostProcessorbeforeMockMvcCreated(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder, org.springframework.web.context.WebApplicationContext context) Methods inherited from class org.springframework.restdocs.config.SnippetConfigurer
apply, withAdditionalDefaults, withDefaults, withEncoding, withTemplateFormatMethods inherited from class org.springframework.restdocs.config.AbstractNestedConfigurer
and 
- 
Method Details
- 
afterConfigurerAdded
public void afterConfigurerAdded(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder) - Specified by:
 afterConfigurerAddedin interfaceorg.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:
 beforeMockMvcCreatedin interfaceorg.springframework.test.web.servlet.setup.MockMvcConfigurer
 
 -