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 aMockMvcConfigurer
that 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 MockMvcWebClientBuilder
MockMvcWebClientBuilder.webAppContextSetup
(org.springframework.web.context.WebApplicationContext context, MockMvcConfigurer configurer) Create a newMockMvcWebClientBuilder
based on the suppliedWebApplicationContext
andMockMvcConfigurer
.Constructors in org.springframework.test.web.servlet.htmlunit with parameters of type MockMvcConfigurerModifierConstructorDescriptionprotected
MockMvcWebClientBuilder
(org.springframework.web.context.WebApplicationContext context, MockMvcConfigurer configurer) protected
MockMvcWebConnectionBuilderSupport
(org.springframework.web.context.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 MockMvcConfigurerModifier and TypeMethodDescriptionstatic MockMvcHtmlUnitDriverBuilder
MockMvcHtmlUnitDriverBuilder.webAppContextSetup
(org.springframework.web.context.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 MockMvcConfigurerModifierConstructorDescriptionprotected
MockMvcHtmlUnitDriverBuilder
(org.springframework.web.context.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 TypeClassDescriptionclass
An empty method implementation ofMockMvcConfigurer
.class
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 MockMvcConfigurerModifier 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.