@Configuration @ConditionalOnClass(value={org.springframework.web.reactive.function.client.WebClient.class,org.springframework.test.web.reactive.server.WebTestClient.class}) @AutoConfigureAfter(value={CodecsAutoConfiguration.class,WebFluxAutoConfiguration.class}) @EnableConfigurationProperties public class WebTestClientAutoConfiguration extends Object
WebTestClient
.Constructor and Description |
---|
WebTestClientAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
SpringBootWebTestClientBuilderCustomizer |
springBootWebTestClientBuilderCustomizer(org.springframework.beans.factory.ObjectProvider<Collection<CodecCustomizer>> codecCustomizers) |
org.springframework.test.web.reactive.server.WebTestClient |
webTestClient(org.springframework.context.ApplicationContext applicationContext,
List<WebTestClientBuilderCustomizer> customizers) |
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=org.springframework.web.server.WebHandler.class) public org.springframework.test.web.reactive.server.WebTestClient webTestClient(org.springframework.context.ApplicationContext applicationContext, List<WebTestClientBuilderCustomizer> customizers)
@Bean @ConfigurationProperties(prefix="spring.test.webtestclient") public SpringBootWebTestClientBuilderCustomizer springBootWebTestClientBuilderCustomizer(org.springframework.beans.factory.ObjectProvider<Collection<CodecCustomizer>> codecCustomizers)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.