Uses of Interface
org.springframework.test.web.servlet.setup.MockMvcConfigurer
Packages that use 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
Methods in org.springframework.test.web.servlet.client with parameters of type MockMvcConfigurerModifier and TypeMethodDescription<T extends B>
TMockMvcWebTestClient.MockMvcServerSpec.apply(MockMvcConfigurer configurer) Add aMockMvcConfigurerthat automates MockMvc setup. -
Uses of MockMvcConfigurer in org.springframework.test.web.servlet.htmlunit
Methods in org.springframework.test.web.servlet.htmlunit with parameters of type MockMvcConfigurerModifier and TypeMethodDescriptionstatic MockMvcWebClientBuilderMockMvcWebClientBuilder.webAppContextSetup(WebApplicationContext context, MockMvcConfigurer configurer) Create a newMockMvcWebClientBuilderbased on the suppliedWebApplicationContextandMockMvcConfigurer.Constructors in org.springframework.test.web.servlet.htmlunit with parameters of type MockMvcConfigurerModifierConstructorDescriptionprotectedMockMvcWebClientBuilder(WebApplicationContext context, MockMvcConfigurer configurer) protectedMockMvcWebConnectionBuilderSupport(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 MockMvcConfigurerModifier and TypeMethodDescriptionstatic 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 MockMvcConfigurerModifierConstructorDescriptionprotectedMockMvcHtmlUnitDriverBuilder(WebApplicationContext context, MockMvcConfigurer configurer) -
Uses of MockMvcConfigurer in org.springframework.test.web.servlet.setup
Classes in org.springframework.test.web.servlet.setup that implement MockMvcConfigurerModifier and TypeClassDescriptionclassAn empty method implementation ofMockMvcConfigurer.classMockMvcConfigurerthat 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 MockMvcConfigurerModifier and TypeMethodDescriptionfinal <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.