Package org.springframework.test.web.servlet
Contains server-side support for testing Spring MVC applications.
- See Also:
MockMvc
Interface Summary Interface Description DispatcherServletCustomizer Strategy interface for customizingDispatcherServlet
instances that are managed byMockMvc
.MockMvcBuilder Builds aMockMvc
instance.MvcResult Provides access to the result of an executed request.RequestBuilder Builds aMockHttpServletRequest
.ResultActions Allows applying actions, such as expectations, on the result of an executed request.ResultHandler AResultHandler
performs a generic action on the result of an executed request — for example, printing debug information.ResultMatcher AResultMatcher
matches the result of an executed request against some expectation.SmartRequestBuilder Extended variant of aRequestBuilder
that applies itsorg.springframework.test.web.servlet.request.RequestPostProcessors
as a separate step from theRequestBuilder.buildRequest(javax.servlet.ServletContext)
method.Class Summary Class Description MockMvc Main entry point for server-side Spring MVC test support.MockMvcBuilderSupport Base class for MockMvc builder implementations, providing the capability to create aMockMvc
instance.