MockMvcBuilder
implementations.See: Description
Interface | Description |
---|---|
ConfigurableMockMvcBuilder<B extends ConfigurableMockMvcBuilder<B>> |
Defines common methods for building a
MockMvc . |
MockMvcConfigurer |
Allows a sub-class to encapsulate logic for pre-configuring a
ConfigurableMockMvcBuilder for some specific purpose. |
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 |
A concrete implementation of
AbstractMockMvcBuilder that provides
the WebApplicationContext supplied to it as a constructor argument. |
MockMvcBuilders |
The main class to import to access all available
MockMvcBuilder s. |
MockMvcConfigurerAdapter |
An empty method implementation of
MockMvcConfigurer . |
StandaloneMockMvcBuilder |
A
MockMvcBuilder that accepts @Controller registrations
thus allowing full control over the instantiation and initialization of
controllers and their dependencies similar to plain unit tests, and also
making it possible to test one controller at a time. |
MockMvcBuilder
implementations.
Use MockMvcBuilders
to access to instances of those implementations.