Class ClientHttpConnectorAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(org.springframework.web.reactive.function.client.WebClient.class)
@AutoConfigureAfter(SslAutoConfiguration.class)
@Import({org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorFactoryConfiguration.ReactorNetty.class,org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorFactoryConfiguration.HttpClient5.class,org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorFactoryConfiguration.JdkClient.class})
public class ClientHttpConnectorAutoConfiguration
extends Object
Auto-configuration
for ClientHttpConnector
.
It can produce a ClientHttpConnector
bean and possibly a companion ResourceFactory
bean, depending on the chosen
HTTP client library.
- Since:
- 2.1.0
- Author:
- Brian Clozel, Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionwebClientHttpConnectorCustomizer
(ClientHttpConnector clientHttpConnector)
-
Constructor Details
-
ClientHttpConnectorAutoConfiguration
public ClientHttpConnectorAutoConfiguration()
-
-
Method Details
-
webClientHttpConnectorCustomizer
@Bean @Lazy @Order(0) @ConditionalOnBean(org.springframework.http.client.reactive.ClientHttpConnector.class) public WebClientCustomizer webClientHttpConnectorCustomizer(ClientHttpConnector clientHttpConnector)
-