クラス MockMvcSnippetConfigurer
java.lang.ObjectSE
org.springframework.restdocs.config.AbstractConfigurer
org.springframework.restdocs.config.AbstractNestedConfigurer<MockMvcRestDocumentationConfigurer>
org.springframework.restdocs.config.SnippetConfigurer<MockMvcRestDocumentationConfigurer, MockMvcSnippetConfigurer>
org.springframework.restdocs.mockmvc.MockMvcSnippetConfigurer
- 実装されているすべてのインターフェース:
MockMvcConfigurer
public final class MockMvcSnippetConfigurer
extends SnippetConfigurer<MockMvcRestDocumentationConfigurer, MockMvcSnippetConfigurer>
implements MockMvcConfigurer
生成されたドキュメントスニペットの構成に使用できる構成ツール。
- 導入:
- 1.1.0
- 作成者:
- Andy Wilkinson
フィールドのサマリー
クラス SnippetConfigurer から継承されたフィールド
DEFAULT_SNIPPET_ENCODING, DEFAULT_TEMPLATE_FORMAT方法の概要
修飾子と型メソッド説明voidafterConfigurerAdded(ConfigurableMockMvcBuilder<?> builder) beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context) クラス SnippetConfigurer から継承されたメソッド
apply, withAdditionalDefaults, withDefaults, withEncoding, withTemplateFormatクラス AbstractNestedConfigurer から継承されたメソッド
and
メソッドの詳細
afterConfigurerAdded
- 次で指定:
- インターフェース
MockMvcConfigurerのafterConfigurerAdded
beforeMockMvcCreated
public RequestPostProcessor beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context) - 次で指定:
- インターフェース
MockMvcConfigurerのbeforeMockMvcCreated