public final class MockMvcRestDocumentationConfigurer extends org.springframework.restdocs.config.RestDocumentationConfigurer<MockMvcSnippetConfigurer,MockMvcRestDocumentationConfigurer> implements MockMvcConfigurer
RestDocumentationConfigurer.| Modifier and Type | Method and Description |
|---|---|
void |
afterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder) |
RequestPostProcessor |
beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder,
WebApplicationContext context) |
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 RequestPostProcessor beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context)
beforeMockMvcCreated in interface MockMvcConfigurerpublic void afterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder)
afterConfigurerAdded in interface MockMvcConfigurerpublic MockMvcSnippetConfigurer snippets()
snippets in class org.springframework.restdocs.config.RestDocumentationConfigurer<MockMvcSnippetConfigurer,MockMvcRestDocumentationConfigurer>