public abstract class MockMvcConfigurerAdapter extends java.lang.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,
WebApplicationContext cxt)
Invoked just before the MockMvc instance is created.
|
public void afterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder)
MockMvcConfigurer
MockMvcConfigurer
is added via
ConfigurableMockMvcBuilder.apply(org.springframework.test.web.servlet.setup.MockMvcConfigurer)
.afterConfigurerAdded
in interface MockMvcConfigurer
public RequestPostProcessor beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext cxt)
MockMvcConfigurer
MockMvc
instance.beforeMockMvcCreated
in interface MockMvcConfigurer