public final class MockMvcSnippetConfigurer extends SnippetConfigurer<MockMvcRestDocumentationConfigurer,MockMvcSnippetConfigurer> implements org.springframework.test.web.servlet.setup.MockMvcConfigurer
DEFAULT_SNIPPET_ENCODING, DEFAULT_TEMPLATE_FORMAT
Modifier and Type | Method and Description |
---|---|
void |
afterConfigurerAdded(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder) |
org.springframework.test.web.servlet.request.RequestPostProcessor |
beforeMockMvcCreated(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder,
org.springframework.web.context.WebApplicationContext context) |
apply, withAdditionalDefaults, withDefaults, withEncoding, withTemplateFormat
and
public void afterConfigurerAdded(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder)
afterConfigurerAdded
in interface org.springframework.test.web.servlet.setup.MockMvcConfigurer
public org.springframework.test.web.servlet.request.RequestPostProcessor beforeMockMvcCreated(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder, org.springframework.web.context.WebApplicationContext context)
beforeMockMvcCreated
in interface org.springframework.test.web.servlet.setup.MockMvcConfigurer