クラス WebTestClientAutoConfiguration
java.lang.ObjectSE
org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration
@AutoConfiguration(after={CodecsAutoConfiguration.class,WebFluxAutoConfiguration.class})
@ConditionalOnClass({org.springframework.web.reactive.function.client.WebClient.class,org.springframework.test.web.reactive.server.WebTestClient.class})
@Import(org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientSecurityConfiguration.class)
@EnableConfigurationProperties
public class WebTestClientAutoConfiguration
extends ObjectSE
WebTestClient
の自動構成。- 導入:
- 2.0.0
- 作成者:
- Stephane Nicoll, Andy Wilkinson
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明springBootWebTestClientBuilderCustomizer
(ObjectProvider<CodecCustomizer> codecCustomizers) webTestClient
(ApplicationContext applicationContext, ListSE<WebTestClientBuilderCustomizer> customizers, ListSE<MockServerConfigurer> configurers)
コンストラクターの詳細
WebTestClientAutoConfiguration
public WebTestClientAutoConfiguration()
メソッドの詳細
webTestClient
@Bean @ConditionalOnMissingBean @ConditionalOnBean(org.springframework.web.server.WebHandler.class) public WebTestClient webTestClient(ApplicationContext applicationContext, ListSE<WebTestClientBuilderCustomizer> customizers, ListSE<MockServerConfigurer> configurers) springBootWebTestClientBuilderCustomizer
@Bean @ConfigurationProperties(prefix="spring.test.webtestclient") public SpringBootWebTestClientBuilderCustomizer springBootWebTestClientBuilderCustomizer(ObjectProvider<CodecCustomizer> codecCustomizers)