Uses of Interface
org.springframework.test.web.servlet.setup.MockMvcConfigurer
Packages that use MockMvcConfigurer Package Description org.springframework.test.web.servlet.htmlunit Server-side support for testing Spring MVC applications withMockMvc
and HtmlUnit.org.springframework.test.web.servlet.htmlunit.webdriver Server-side support for testing Spring MVC applications withMockMvc
and the SeleniumHtmlUnitDriver
.org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilder
implementations.Uses of MockMvcConfigurer in org.springframework.test.web.servlet.htmlunit
Methods in org.springframework.test.web.servlet.htmlunit with parameters of type MockMvcConfigurer Modifier and Type Method Description static MockMvcWebClientBuilder
MockMvcWebClientBuilder. webAppContextSetup(WebApplicationContext context, MockMvcConfigurer configurer)
Create a newMockMvcWebClientBuilder
based on the suppliedWebApplicationContext
andMockMvcConfigurer
.Constructors in org.springframework.test.web.servlet.htmlunit with parameters of type MockMvcConfigurer Constructor Description MockMvcWebClientBuilder(WebApplicationContext context, MockMvcConfigurer configurer)
MockMvcWebConnectionBuilderSupport(WebApplicationContext context, MockMvcConfigurer configurer)
Create a new instance using the suppliedWebApplicationContext
andMockMvcConfigurer
.Uses of MockMvcConfigurer in org.springframework.test.web.servlet.htmlunit.webdriver
Methods in org.springframework.test.web.servlet.htmlunit.webdriver with parameters of type MockMvcConfigurer Modifier and Type Method Description static MockMvcHtmlUnitDriverBuilder
MockMvcHtmlUnitDriverBuilder. webAppContextSetup(WebApplicationContext context, MockMvcConfigurer configurer)
Create a newMockMvcHtmlUnitDriverBuilder
based on the suppliedWebApplicationContext
andMockMvcConfigurer
.Constructors in org.springframework.test.web.servlet.htmlunit.webdriver with parameters of type MockMvcConfigurer Constructor Description MockMvcHtmlUnitDriverBuilder(WebApplicationContext context, MockMvcConfigurer configurer)
Uses of MockMvcConfigurer in org.springframework.test.web.servlet.setup
Classes in org.springframework.test.web.servlet.setup that implement MockMvcConfigurer Modifier and Type Class Description class
MockMvcConfigurerAdapter
An empty method implementation ofMockMvcConfigurer
.class
SharedHttpSessionConfigurer
MockMvcConfigurer
that stores and re-uses the HTTP session across multiple requests performed through the sameMockMvc
instance.Methods in org.springframework.test.web.servlet.setup with parameters of type MockMvcConfigurer Modifier and Type Method Description <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.