public final class MockMvcRestDocumentationConfigurer extends org.springframework.restdocs.config.RestDocumentationConfigurer<MockMvcSnippetConfigurer,MockMvcOperationPreprocessorsConfigurer,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) |
MockMvcOperationPreprocessorsConfigurer |
operationPreprocessors() |
MockMvcSnippetConfigurer |
snippets() |
UriConfigurer |
uris()
Returns a
UriConfigurer that can be used to configure the request URIs that
will be documented. |
public 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()
snippets in class org.springframework.restdocs.config.RestDocumentationConfigurer<MockMvcSnippetConfigurer,MockMvcOperationPreprocessorsConfigurer,MockMvcRestDocumentationConfigurer>public MockMvcOperationPreprocessorsConfigurer operationPreprocessors()
operationPreprocessors in class org.springframework.restdocs.config.RestDocumentationConfigurer<MockMvcSnippetConfigurer,MockMvcOperationPreprocessorsConfigurer,MockMvcRestDocumentationConfigurer>