MockMvcBuilder
implementations.See: Description
Class | Description |
---|---|
AbstractMockMvcBuilder<B extends AbstractMockMvcBuilder<B>> |
An abstract implementation of
MockMvcBuilder
with common methods for configuring filters, default request properties, global
expectations and global result actions. |
DefaultMockMvcBuilder |
An concrete implementation of
AbstractMockMvcBuilder that simply
provides the WebApplicationContext given to it as a constructor argument. |
MockMvcBuilders |
The main class to import to access all available
MockMvcBuilder s. |
PatternMappingFilterProxy |
A Filter that invokes a delegate
Filter only if the request URL
matches the pattern it is mapped to using pattern matching as defined in the
Servlet spec. |
StandaloneMockMvcBuilder |
A MockMvcBuilder that accepts
@Controller registrations thus allowing
full control over the instantiation and the initialization of controllers and
their dependencies similar to plain unit tests, and also making it possible
to test one controller at a time. |
StandaloneMockMvcBuilder.StaticRequestMappingHandlerMapping |
A
RequestMappingHandlerMapping that allows registration of controllers. |
StandaloneMockMvcBuilder.StaticStringValueResolver |
A static resolver placeholder for values embedded in request mappings.
|
StandaloneMockMvcBuilder.StaticViewResolver |
A
ViewResolver that always returns same View. |
StubWebApplicationContext |
A mock WebApplicationContext that accepts registrations of object instances.
|
MockMvcBuilder
implementations.
Use MockMvcBuilders
to access to instances of those implementations.