Class RestClientTransportClientFactory

java.lang.Object
org.springframework.cloud.netflix.eureka.http.RestClientTransportClientFactory
All Implemented Interfaces:
com.netflix.discovery.shared.transport.TransportClientFactory

public class RestClientTransportClientFactory extends Object implements com.netflix.discovery.shared.transport.TransportClientFactory
Provides the custom RestClient required by the RestClientEurekaHttpClient. Relies on Jackson for serialization and deserialization.
Since:
4.2.0
Author:
Wonchul Heo, Olga Maciaszek-Sharma
  • Constructor Details

  • Method Details

    • newClient

      public com.netflix.discovery.shared.transport.EurekaHttpClient newClient(com.netflix.discovery.shared.resolver.EurekaEndpoint endpoint)
      Specified by:
      newClient in interface com.netflix.discovery.shared.transport.TransportClientFactory
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface com.netflix.discovery.shared.transport.TransportClientFactory