Uses of Interface
org.springframework.test.web.servlet.setup.MockMvcConfigurer
Package
Description
Support for testing Spring MVC applications via
WebTestClient
with MockMvc
for server request
handling.Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit.Server-side support for testing Spring MVC applications with
MockMvc
and the Selenium HtmlUnitDriver
.Contains built-in
MockMvcBuilder
implementations.-
Uses of MockMvcConfigurer in org.springframework.test.web.servlet.client
Modifier and TypeMethodDescription<T extends B>
TMockMvcWebTestClient.MockMvcServerSpec.apply
(MockMvcConfigurer configurer) Add aMockMvcConfigurer
that automates MockMvc setup. -
Uses of MockMvcConfigurer in org.springframework.test.web.servlet.htmlunit
Modifier and TypeMethodDescriptionstatic MockMvcWebClientBuilder
MockMvcWebClientBuilder.webAppContextSetup
(WebApplicationContext context, MockMvcConfigurer configurer) Create a newMockMvcWebClientBuilder
based on the suppliedWebApplicationContext
andMockMvcConfigurer
.ModifierConstructorDescriptionprotected
MockMvcWebClientBuilder
(WebApplicationContext context, MockMvcConfigurer configurer) protected
MockMvcWebConnectionBuilderSupport
(WebApplicationContext context, MockMvcConfigurer configurer) Create a new instance using the suppliedWebApplicationContext
andMockMvcConfigurer
. -
Uses of MockMvcConfigurer in org.springframework.test.web.servlet.htmlunit.webdriver
Modifier and TypeMethodDescriptionstatic MockMvcHtmlUnitDriverBuilder
MockMvcHtmlUnitDriverBuilder.webAppContextSetup
(WebApplicationContext context, MockMvcConfigurer configurer) Create a newMockMvcHtmlUnitDriverBuilder
based on the suppliedWebApplicationContext
andMockMvcConfigurer
.ModifierConstructorDescriptionprotected
MockMvcHtmlUnitDriverBuilder
(WebApplicationContext context, MockMvcConfigurer configurer) -
Uses of MockMvcConfigurer in org.springframework.test.web.servlet.setup
Modifier and TypeClassDescriptionclass
An empty method implementation ofMockMvcConfigurer
.class
MockMvcConfigurer
that stores and re-uses the HTTP session across multiple requests performed through the sameMockMvc
instance.Modifier and TypeMethodDescriptionfinal <T extends B>
TAbstractMockMvcBuilder.apply
(MockMvcConfigurer configurer) <T extends B>
TConfigurableMockMvcBuilder.apply
(MockMvcConfigurer configurer) Add aMockMvcConfigurer
that automates MockMvc setup and configures it for some specific purpose (e.g.