public final class MockMvcRestDocumentationConfigurer extends RestDocumentationConfigurer<MockMvcSnippetConfigurer,MockMvcRestDocumentationConfigurer> implements org.springframework.test.web.servlet.setup.MockMvcConfigurer
RestDocumentationConfigurer.| 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) |
MockMvcSnippetConfigurer |
snippets()
Returns a
SnippetConfigurer that can be used to configure the snippets that
will be generated. |
UriConfigurer |
uris()
Returns a
UriConfigurer that can be used to configure the request URIs that
will be documented. |
apply, templateEngine, writerResolverpublic UriConfigurer uris()
UriConfigurer that can be used to configure the request URIs that
will be documented.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.MockMvcConfigurerpublic void afterConfigurerAdded(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder)
afterConfigurerAdded in interface org.springframework.test.web.servlet.setup.MockMvcConfigurerpublic MockMvcSnippetConfigurer snippets()
RestDocumentationConfigurerSnippetConfigurer that can be used to configure the snippets that
will be generated.snippets in class RestDocumentationConfigurer<MockMvcSnippetConfigurer,MockMvcRestDocumentationConfigurer>