Package org.springframework.test.web.servlet
@NullMarked
package org.springframework.test.web.servlet
Contains server-side support for testing Spring MVC applications.
- See Also:
-
ClassDescriptionStrategy interface for customizing
DispatcherServletinstances that are managed byMockMvc.Main entry point for server-side Spring MVC test support.Builds aMockMvcinstance.Base class for MockMvc builder implementations, providing the capability to create aMockMvcinstance.Provides access to the result of an executed request.Builds aMockHttpServletRequest.Allows applying actions, such as expectations, on the result of an executed request.AResultHandlerperforms a generic action on the result of an executed request — for example, printing debug information.AResultMatchermatches the result of an executed request against some expectation.Extended variant of aRequestBuilderthat applies itsorg.springframework.test.web.servlet.request.RequestPostProcessorsas a separate step from theRequestBuilder.buildRequest(ServletContext)method.