Class Jersey3ApplicationClientFactory

  • All Implemented Interfaces:
    com.netflix.discovery.shared.transport.TransportClientFactory

    public class Jersey3ApplicationClientFactory
    extends java.lang.Object
    implements com.netflix.discovery.shared.transport.TransportClientFactory
    • Field Detail

      • HTTP_X_DISCOVERY_ALLOW_REDIRECT

        public static final java.lang.String HTTP_X_DISCOVERY_ALLOW_REDIRECT
        See Also:
        Constant Field Values
    • Constructor Detail

      • Jersey3ApplicationClientFactory

        public Jersey3ApplicationClientFactory​(jakarta.ws.rs.client.Client jersey3Client,
                                               jakarta.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.Object> additionalHeaders)
    • Method Detail

      • 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
      • create

        public static Jersey3ApplicationClientFactory create​(com.netflix.discovery.EurekaClientConfig clientConfig,
                                                             java.util.Collection<jakarta.ws.rs.client.ClientRequestFilter> additionalFilters,
                                                             com.netflix.appinfo.InstanceInfo myInstanceInfo,
                                                             com.netflix.appinfo.AbstractEurekaIdentity clientIdentity)
      • create

        public static Jersey3ApplicationClientFactory create​(com.netflix.discovery.EurekaClientConfig clientConfig,
                                                             java.util.Collection<jakarta.ws.rs.client.ClientRequestFilter> additionalFilters,
                                                             com.netflix.appinfo.InstanceInfo myInstanceInfo,
                                                             com.netflix.appinfo.AbstractEurekaIdentity clientIdentity,
                                                             java.util.Optional<javax.net.ssl.SSLContext> sslContext,
                                                             java.util.Optional<javax.net.ssl.HostnameVerifier> hostnameVerifier)