Uses of Interface
org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder
Packages that use ConfigurableMockMvcBuilder Package Description org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilderimplementations.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 interfaceConfigurableMockMvcBuilder<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 classAbstractMockMvcBuilder<B extends AbstractMockMvcBuilder<B>>Abstract implementation ofMockMvcBuilderwith common methods for configuring filters, default request properties, global expectations and global result actions.classDefaultMockMvcBuilderA concrete implementation ofAbstractMockMvcBuilderthat provides theWebApplicationContextsupplied to it as a constructor argument.classStandaloneMockMvcBuilderAMockMvcBuilderthat accepts@Controllerregistrations 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 voidMockMvcConfigurer. afterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder)Invoked immediately when thisMockMvcConfigureris added viaapply(org.springframework.test.web.servlet.setup.MockMvcConfigurer).voidMockMvcConfigurerAdapter. afterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder)voidSharedHttpSessionConfigurer. afterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder)default RequestPostProcessorMockMvcConfigurer. 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.RequestPostProcessorMockMvcConfigurerAdapter. beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext cxt)RequestPostProcessorSharedHttpSessionConfigurer. beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context)