Uses of Interface
org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder
Packages that use ConfigurableMockMvcBuilder Package Description org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilder
implementations.Uses of ConfigurableMockMvcBuilder in org.springframework.test.web.servlet.setup
Classes in org.springframework.test.web.servlet.setup with type parameters of type ConfigurableMockMvcBuilder Modifier and Type Interface Description interface
ConfigurableMockMvcBuilder<B extends ConfigurableMockMvcBuilder<B>>
Defines common methods for building aMockMvc
.Classes in org.springframework.test.web.servlet.setup that implement ConfigurableMockMvcBuilder Modifier and Type Class Description class
AbstractMockMvcBuilder<B extends AbstractMockMvcBuilder<B>>
Abstract implementation ofMockMvcBuilder
with common methods for configuring filters, default request properties, global expectations and global result actions.class
DefaultMockMvcBuilder
A concrete implementation ofAbstractMockMvcBuilder
that provides theWebApplicationContext
supplied to it as a constructor argument.class
StandaloneMockMvcBuilder
AMockMvcBuilder
that accepts@Controller
registrations thus allowing full control over the instantiation and initialization of controllers and their dependencies similar to plain unit tests, and also making it possible to test one controller at a time.Methods in org.springframework.test.web.servlet.setup with parameters of type ConfigurableMockMvcBuilder Modifier and Type Method Description default void
MockMvcConfigurer. afterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder)
Invoked immediately when thisMockMvcConfigurer
is added viaapply(org.springframework.test.web.servlet.setup.MockMvcConfigurer)
.void
MockMvcConfigurerAdapter. afterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder)
void
SharedHttpSessionConfigurer. afterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder)
default RequestPostProcessor
MockMvcConfigurer. beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context)
Invoked when the MockMvc instance is about to be created with the MockMvc builder and the Spring WebApplicationContext that will be passed to theDispatcherServlet
.RequestPostProcessor
MockMvcConfigurerAdapter. beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext cxt)
RequestPostProcessor
SharedHttpSessionConfigurer. beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context)