Class WebClientTransportClientFactory
java.lang.Object
org.springframework.cloud.netflix.eureka.http.WebClientTransportClientFactory
- All Implemented Interfaces:
com.netflix.discovery.shared.transport.TransportClientFactory
public class WebClientTransportClientFactory
extends Object
implements com.netflix.discovery.shared.transport.TransportClientFactory
Provides the custom
WebClient.Builder required by the
WebClientEurekaHttpClient. Relies on Jackson for serialization and
deserialization.- Author:
- Daniel Lavoie, Haytham Mohamed
-
Constructor Summary
ConstructorsConstructorDescriptionWebClientTransportClientFactory(Supplier<org.springframework.web.reactive.function.client.WebClient.Builder> builderSupplier) -
Method Summary
-
Constructor Details
-
WebClientTransportClientFactory
public WebClientTransportClientFactory(Supplier<org.springframework.web.reactive.function.client.WebClient.Builder> builderSupplier)
-
-
Method Details
-
shutdown
public void shutdown()- Specified by:
shutdownin interfacecom.netflix.discovery.shared.transport.TransportClientFactory