public class WebClientTransportClientFactory extends Object implements com.netflix.discovery.shared.transport.TransportClientFactory
WebClient.Builder required by the
WebClientEurekaHttpClient. Relies on Jackson for serialization and
deserialization.| Constructor and Description |
|---|
WebClientTransportClientFactory(Supplier<org.springframework.web.reactive.function.client.WebClient.Builder> builderSupplier) |
| Modifier and Type | Method and Description |
|---|---|
com.netflix.discovery.shared.transport.EurekaHttpClient |
newClient(com.netflix.discovery.shared.resolver.EurekaEndpoint endpoint) |
void |
shutdown() |
public WebClientTransportClientFactory(Supplier<org.springframework.web.reactive.function.client.WebClient.Builder> builderSupplier)
public com.netflix.discovery.shared.transport.EurekaHttpClient newClient(com.netflix.discovery.shared.resolver.EurekaEndpoint endpoint)
newClient in interface com.netflix.discovery.shared.transport.TransportClientFactorypublic void shutdown()
shutdown in interface com.netflix.discovery.shared.transport.TransportClientFactoryCopyright © 2022 Pivotal Software, Inc.. All rights reserved.