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 withMockMvcand HtmlUnit.org.springframework.test.web.servlet.htmlunit.webdriver Server-side support for testing Spring MVC applications withMockMvcand the SeleniumHtmlUnitDriver.org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilderimplementations.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 MockMvcWebClientBuilderMockMvcWebClientBuilder. webAppContextSetup(WebApplicationContext context, MockMvcConfigurer configurer)Create a newMockMvcWebClientBuilderbased on the suppliedWebApplicationContextandMockMvcConfigurer.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 suppliedWebApplicationContextandMockMvcConfigurer.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 MockMvcHtmlUnitDriverBuilderMockMvcHtmlUnitDriverBuilder. webAppContextSetup(WebApplicationContext context, MockMvcConfigurer configurer)Create a newMockMvcHtmlUnitDriverBuilderbased on the suppliedWebApplicationContextandMockMvcConfigurer.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 classMockMvcConfigurerAdapterAn empty method implementation ofMockMvcConfigurer.classSharedHttpSessionConfigurerMockMvcConfigurerthat stores and re-uses the HTTP session across multiple requests performed through the sameMockMvcinstance.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 aMockMvcConfigurerthat automates MockMvc setup and configures it for some specific purpose (e.g.