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:
MockMvcConfigurer
public final class MockMvcOperationPreprocessorsConfigurer
extends org.springframework.restdocs.config.OperationPreprocessorsConfigurer<MockMvcRestDocumentationConfigurer,MockMvcOperationPreprocessorsConfigurer>
implements MockMvcConfigurer
A configurer that can be used to configure the operation preprocessors.
- Since:
- 2.0.0
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder) beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context) Methods inherited from class org.springframework.restdocs.config.OperationPreprocessorsConfigurer
apply, withRequestDefaults, withResponseDefaultsMethods inherited from class org.springframework.restdocs.config.AbstractNestedConfigurer
and
-
Method Details
-
afterConfigurerAdded
- Specified by:
afterConfigurerAddedin interfaceMockMvcConfigurer
-
beforeMockMvcCreated
public RequestPostProcessor beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context) - Specified by:
beforeMockMvcCreatedin interfaceMockMvcConfigurer
-