Uses of Package
org.springframework.test.web.servlet.setup
Packages that use org.springframework.test.web.servlet.setup 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.Classes in org.springframework.test.web.servlet.setup used by org.springframework.test.web.servlet.htmlunit Class Description MockMvcConfigurer Contract for customizing aConfigurableMockMvcBuilder
in some specific way, e.g.Classes in org.springframework.test.web.servlet.setup used by org.springframework.test.web.servlet.htmlunit.webdriver Class Description MockMvcConfigurer Contract for customizing aConfigurableMockMvcBuilder
in some specific way, e.g.Classes in org.springframework.test.web.servlet.setup used by org.springframework.test.web.servlet.setup Class Description AbstractMockMvcBuilder Abstract implementation ofMockMvcBuilder
with common methods for configuring filters, default request properties, global expectations and global result actions.ConfigurableMockMvcBuilder Defines common methods for building aMockMvc
.DefaultMockMvcBuilder A concrete implementation ofAbstractMockMvcBuilder
that provides theWebApplicationContext
supplied to it as a constructor argument.MockMvcConfigurer Contract for customizing aConfigurableMockMvcBuilder
in some specific way, e.g.SharedHttpSessionConfigurer MockMvcConfigurer
that stores and re-uses the HTTP session across multiple requests performed through the sameMockMvc
instance.StandaloneMockMvcBuilder AMockMvcBuilder
that accepts@Controller
registrations thus allowing full control over the instantiation and initialization of controllers and their dependencies similar to plain unit tests, and also making it possible to test one controller at a time.