Uses of Package
org.springframework.test.web.servlet
Packages that use org.springframework.test.web.servlet
Package
Description
Contains client-side REST testing support.
Contains server-side support for testing Spring MVC applications.
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
RequestBuilder
implementations.Contains built-in
ResultMatcher
and ResultHandler
implementations.Contains built-in
MockMvcBuilder
implementations.-
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.client
-
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servletClassDescriptionMain entry point for server-side Spring MVC test support.Provides access to the result of an executed request.Builds a
MockHttpServletRequest
.Allows applying actions, such as expectations, on the result of an executed request.AResultHandler
performs a generic action on the result of an executed request — for example, printing debug information.AResultMatcher
matches the result of an executed request against some expectation. -
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet.clientClassDescriptionStrategy interface for customizing
DispatcherServlet
instances that are managed byMockMvc
.Main entry point for server-side Spring MVC test support.Builds aMockHttpServletRequest
.Allows applying actions, such as expectations, on the result of an executed request.AResultMatcher
matches the result of an executed request against some expectation. -
-
-
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet.requestClassDescriptionProvides access to the result of an executed request.Builds a
MockHttpServletRequest
.Extended variant of aRequestBuilder
that applies itsorg.springframework.test.web.servlet.request.RequestPostProcessors
as a separate step from theRequestBuilder.buildRequest(jakarta.servlet.ServletContext)
method. -
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet.resultClassDescriptionProvides access to the result of an executed request.A
ResultHandler
performs a generic action on the result of an executed request — for example, printing debug information.AResultMatcher
matches the result of an executed request against some expectation. -
Classes in org.springframework.test.web.servlet used by org.springframework.test.web.servlet.setupClassDescriptionStrategy interface for customizing
DispatcherServlet
instances that are managed byMockMvc
.Main entry point for server-side Spring MVC test support.Builds aMockMvc
instance.Base class for MockMvc builder implementations, providing the capability to create aMockMvc
instance.Builds aMockHttpServletRequest
.AResultHandler
performs a generic action on the result of an executed request — for example, printing debug information.AResultMatcher
matches the result of an executed request against some expectation.