Interface MockMvcBuilderCustomizer
- All Known Implementing Classes:
SpringBootMockMvcBuilderCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MockMvcBuilderCustomizer
A customizer for aConfigurableMockMvcBuilder
. AnyMockMvcBuilderCustomizer
beans found in the application context will becalled
to customize the auto-configuredMockMvcBuilder
.- Since:
- 1.4.0
- See Also:
MockMvcAutoConfiguration
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
customize(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder)
Customize the givenbuilder
.
Method Detail
customize
void customize(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder)
Customize the givenbuilder
.- Parameters:
builder
- the builder