Class RestDocsMockMvcBuilderCustomizer
java.lang.Object
org.springframework.boot.restdocs.test.autoconfigure.RestDocsMockMvcBuilderCustomizer
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.boot.webmvc.test.autoconfigure.MockMvcBuilderCustomizer
public class RestDocsMockMvcBuilderCustomizer
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.boot.webmvc.test.autoconfigure.MockMvcBuilderCustomizer
A
MockMvcBuilderCustomizer that configures Spring REST Docs.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcustomize(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder)
-
Method Details
-
afterPropertiesSet
-
customize
public void customize(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder) - Specified by:
customizein interfaceorg.springframework.boot.webmvc.test.autoconfigure.MockMvcBuilderCustomizer
-