Interface MockMvcBuilderCustomizer
- All Known Implementing Classes:
SpringBootMockMvcBuilderCustomizer
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