Package org.springframework.test.web.servlet
@NonNullApi
@NonNullFields
package org.springframework.test.web.servlet
Contains server-side support for testing Spring MVC applications.
- See Also:
-
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.Provides access to the result of an executed request.Builds aMockHttpServletRequest
.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.Extended variant of aRequestBuilder
that applies itsorg.springframework.test.web.servlet.request.RequestPostProcessors
as a separate step from theRequestBuilder.buildRequest(jakarta.servlet.ServletContext)
method.