Class MockMvcOperationPreprocessorsConfigurer
java.lang.Object
org.springframework.restdocs.config.AbstractConfigurer
org.springframework.restdocs.config.AbstractNestedConfigurer<PARENT>
org.springframework.restdocs.config.OperationPreprocessorsConfigurer<MockMvcRestDocumentationConfigurer,MockMvcOperationPreprocessorsConfigurer>
org.springframework.restdocs.mockmvc.MockMvcOperationPreprocessorsConfigurer
- All Implemented Interfaces:
org.springframework.test.web.servlet.setup.MockMvcConfigurer
public final class MockMvcOperationPreprocessorsConfigurer
extends OperationPreprocessorsConfigurer<MockMvcRestDocumentationConfigurer,MockMvcOperationPreprocessorsConfigurer>
implements org.springframework.test.web.servlet.setup.MockMvcConfigurer
A configurer that can be used to configure the operation preprocessors.
- Since:
- 2.0.0
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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) Methods inherited from class org.springframework.restdocs.config.OperationPreprocessorsConfigurer
apply, withRequestDefaults, withResponseDefaults
Methods 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:
afterConfigurerAdded
in 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:
beforeMockMvcCreated
in interfaceorg.springframework.test.web.servlet.setup.MockMvcConfigurer
-