public abstract class MockMvcConfigurerAdapter extends Object implements MockMvcConfigurer
MockMvcConfigurer.| Constructor and Description |
|---|
MockMvcConfigurerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder)
Invoked immediately after a
MockMvcConfigurer is added via
ConfigurableMockMvcBuilder.apply(org.springframework.test.web.servlet.setup.MockMvcConfigurer). |
RequestPostProcessor |
beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder,
org.springframework.web.context.WebApplicationContext cxt)
Invoked just before the MockMvc instance is created.
|
public void afterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder)
MockMvcConfigurerMockMvcConfigurer is added via
ConfigurableMockMvcBuilder.apply(org.springframework.test.web.servlet.setup.MockMvcConfigurer).afterConfigurerAdded in interface MockMvcConfigurerpublic RequestPostProcessor beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, org.springframework.web.context.WebApplicationContext cxt)
MockMvcConfigurerMockMvc instance.beforeMockMvcCreated in interface MockMvcConfigurer