Uses of Package
org.springframework.test.web.servlet
Package
Description
Contains client-side REST testing support.
Contains server-side support for testing Spring MVC applications.
AssertJ support for MockMvc.
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.-
-
ClassDescriptionMain 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. -
ClassDescriptionMain entry point for server-side Spring MVC test support.Provides access to the result of an executed request.Builds a
MockHttpServletRequest
.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.Extended variant of aRequestBuilder
that applies itsorg.springframework.test.web.servlet.request.RequestPostProcessors
as a separate step from theRequestBuilder.buildRequest(jakarta.servlet.ServletContext)
method. -
ClassDescriptionStrategy 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. -
-
-
ClassDescriptionProvides 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. -
ClassDescriptionProvides 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. -
ClassDescriptionStrategy 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.