アノテーションインターフェース AutoConfigureWebClient
@TargetSE(TYPESE)
@RetentionSE(RUNTIMESE)
@DocumentedSE
@InheritedSE
@AutoConfigureJson
@ImportAutoConfiguration
@PropertyMapping("spring.test.webclient")
public @interface AutoConfigureWebClient
Web クライアントの自動構成を有効にして構成するためにテストクラスに適用できるアノテーション。
- 導入:
- 1.4.0
- 作成者:
- Stephane Nicoll, Phillip Webb
オプション要素の概要
オプション要素
要素の詳細
registerRestTemplate
boolean registerRestTemplate- 戻り値:
RestTemplate
Bean を追加する必要がある場合。
- デフォルト:
- false