See: Description
Interface | Description |
---|---|
DispatcherServletCustomizer |
Strategy interface for customizing
DispatcherServlet instances that are
managed by MockMvc . |
MockMvcBuilder |
Builds a
MockMvc instance. |
MvcResult |
Provides access to the result of an executed request.
|
RequestBuilder |
Builds a
MockHttpServletRequest . |
ResultActions |
Allows applying actions, such as expectations, on the result of an executed
request.
|
ResultHandler |
A
ResultHandler performs a generic action on the result of an
executed request — for example, printing debug information. |
ResultMatcher |
A
ResultMatcher matches the result of an executed request against
some expectation. |
SmartRequestBuilder |
Extended variant of a
RequestBuilder that applies its
RequestPostProcessor s
as a separate step from the RequestBuilder.buildRequest(ServletContext) method. |
Class | Description |
---|---|
DefaultMvcResult |
A simple implementation of
MvcResult with setters. |
MockMvc |
Main entry point for server-side Spring MVC test support.
|
MockMvcBuilderSupport |
Base class for MockMvc builder implementations, providing the capability to
create a
MockMvc instance. |
TestDispatcherServlet |
A sub-class of
DispatcherServlet that saves the result in an
MvcResult . |
Exception | Description |
---|---|
MockMvcBuilderSupport.MockMvcBuildException |
MockMvc