Class RestDocsMockMvcBuilderCustomizer
java.lang.Object
org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcBuilderCustomizer
- All Implemented Interfaces:
InitializingBean
,MockMvcBuilderCustomizer
public class RestDocsMockMvcBuilderCustomizer
extends Object
implements InitializingBean, MockMvcBuilderCustomizer
A
MockMvcBuilderCustomizer
that configures Spring REST Docs.- Since:
- 1.5.22
- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
customize
(ConfigurableMockMvcBuilder<?> builder) Customize the givenbuilder
.
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceInitializingBean
- Throws:
Exception
-
customize
Description copied from interface:MockMvcBuilderCustomizer
Customize the givenbuilder
.- Specified by:
customize
in interfaceMockMvcBuilderCustomizer
- Parameters:
builder
- the builder
-