Class RestDocsMockMvcBuilderCustomizer
java.lang.Object
org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcBuilderCustomizer
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,MockMvcBuilderCustomizer
public class RestDocsMockMvcBuilderCustomizer
extends Object
implements org.springframework.beans.factory.InitializingBean, MockMvcBuilderCustomizer
A
MockMvcBuilderCustomizer that configures Spring REST Docs.- Since:
- 1.5.22
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcustomize(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder) Customize the givenbuilder.
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
customize
public void customize(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder) Description copied from interface:MockMvcBuilderCustomizerCustomize the givenbuilder.- Specified by:
customizein interfaceMockMvcBuilderCustomizer- Parameters:
builder- the builder
-