Interface MockMvcBuilderCustomizer
- All Known Implementing Classes:
RestDocsMockMvcBuilderCustomizer
,SpringBootMockMvcBuilderCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A customizer for a
ConfigurableMockMvcBuilder
. Any
MockMvcBuilderCustomizer
beans found in the application context will be
called
to customize the auto-configured MockMvcBuilder
.- Since:
- 1.4.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder) Customize the givenbuilder
.
-
Method Details
-
customize
void customize(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder) Customize the givenbuilder
.- Parameters:
builder
- the builder
-