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()
Deprecated.
|
WebClientTransportClientFactory(Supplier<org.springframework.web.reactive.function.client.WebClient.Builder> builderSupplier) |
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.ser.BeanSerializerModifier |
createJsonSerializerModifier()
Deprecated.
|
org.springframework.http.converter.json.MappingJackson2HttpMessageConverter |
mappingJacksonHttpMessageConverter()
Deprecated.
to be removed.
|
com.netflix.discovery.shared.transport.EurekaHttpClient |
newClient(com.netflix.discovery.shared.resolver.EurekaEndpoint endpoint) |
void |
shutdown() |
@Deprecated public WebClientTransportClientFactory()
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.TransportClientFactory
@Deprecated public org.springframework.http.converter.json.MappingJackson2HttpMessageConverter mappingJacksonHttpMessageConverter()
SerializationFeature.WRAP_ROOT_VALUE
and
DeserializationFeature.UNWRAP_ROOT_VALUE
.
PropertyNamingStrategy.SnakeCaseStrategy
is applied to the underlying
ObjectMapper
.MappingJackson2HttpMessageConverter
object@Deprecated public static com.fasterxml.jackson.databind.ser.BeanSerializerModifier createJsonSerializerModifier()
public void shutdown()
shutdown
in interface com.netflix.discovery.shared.transport.TransportClientFactory
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.