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 TypeMethodDescriptionvoid
void
customize
(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder) Customize the givenbuilder
.
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
customize
public void customize(org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder<?> builder) Description copied from interface:MockMvcBuilderCustomizer
Customize the givenbuilder
.- Specified by:
customize
in interfaceMockMvcBuilderCustomizer
- Parameters:
builder
- the builder
-