Class WebClientAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.web.reactive.function.client.WebClientAutoConfiguration
@AutoConfiguration(after={CodecsAutoConfiguration.class,ClientHttpConnectorAutoConfiguration.class})
@ConditionalOnClass(org.springframework.web.reactive.function.client.WebClient.class)
public class WebClientAutoConfiguration
extends Object
Auto-configuration
for WebClient
.
This will produce a
WebClient.Builder
bean with the prototype
scope, meaning each injection point
will receive a newly cloned instance of the builder.
- Since:
- 2.0.0
- Author:
- Brian Clozel
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionwebClientBuilder
(ObjectProvider<WebClientCustomizer> customizerProvider)
-
Constructor Details
-
WebClientAutoConfiguration
public WebClientAutoConfiguration()
-
-
Method Details
-
webClientBuilder
@Bean @Scope("prototype") @ConditionalOnMissingBean public WebClient.Builder webClientBuilder(ObjectProvider<WebClientCustomizer> customizerProvider)
-