public class FeignLoadBalancer extends com.netflix.client.AbstractLoadBalancerAwareClient<FeignLoadBalancer.RibbonRequest,FeignLoadBalancer.RibbonResponse>
Modifier and Type | Class and Description |
---|---|
protected static class |
FeignLoadBalancer.RibbonRequest |
protected static class |
FeignLoadBalancer.RibbonResponse |
Modifier and Type | Field and Description |
---|---|
protected com.netflix.client.config.IClientConfig |
clientConfig |
protected int |
connectTimeout |
protected int |
readTimeout |
protected org.springframework.cloud.netflix.ribbon.ServerIntrospector |
serverIntrospector |
Constructor and Description |
---|
FeignLoadBalancer(com.netflix.loadbalancer.ILoadBalancer lb,
com.netflix.client.config.IClientConfig clientConfig,
org.springframework.cloud.netflix.ribbon.ServerIntrospector serverIntrospector) |
Modifier and Type | Method and Description |
---|---|
FeignLoadBalancer.RibbonResponse |
execute(FeignLoadBalancer.RibbonRequest request,
com.netflix.client.config.IClientConfig configOverride) |
com.netflix.client.RequestSpecificRetryHandler |
getRequestSpecificRetryHandler(FeignLoadBalancer.RibbonRequest request,
com.netflix.client.config.IClientConfig requestConfig) |
URI |
reconstructURIWithServer(com.netflix.loadbalancer.Server server,
URI original) |
buildLoadBalancerCommand, customizeLoadBalancerCommandBuilder, executeWithLoadBalancer, executeWithLoadBalancer, isCircuitBreakerException, isRetriable, isRetriableException
deriveHostAndPortFromVipAddress, deriveSchemeAndPortFromPartialUri, generateNIWSException, getClientName, getDeepestCause, getDefaultPortFromScheme, getExecuteTracer, getLoadBalancer, getMaxAutoRetries, getMaxAutoRetriesNextServer, getNumberRetriesOnSameServer, getRetriesNextServer, getRetryHandler, getServerFromLoadBalancer, getServerStats, handleSameServerRetry, initWithNiwsConfig, isOkToRetryOnAllOperations, noteError, noteOpenConnection, noteRequestCompletion, noteRequestCompletion, noteResponse, setLoadBalancer, setMaxAutoRetries, setMaxAutoRetriesNextServer, setOkToRetryOnAllOperations, setRetryHandler
protected int connectTimeout
protected int readTimeout
protected com.netflix.client.config.IClientConfig clientConfig
protected org.springframework.cloud.netflix.ribbon.ServerIntrospector serverIntrospector
public FeignLoadBalancer(com.netflix.loadbalancer.ILoadBalancer lb, com.netflix.client.config.IClientConfig clientConfig, org.springframework.cloud.netflix.ribbon.ServerIntrospector serverIntrospector)
public FeignLoadBalancer.RibbonResponse execute(FeignLoadBalancer.RibbonRequest request, com.netflix.client.config.IClientConfig configOverride) throws IOException
IOException
public com.netflix.client.RequestSpecificRetryHandler getRequestSpecificRetryHandler(FeignLoadBalancer.RibbonRequest request, com.netflix.client.config.IClientConfig requestConfig)
getRequestSpecificRetryHandler
in class com.netflix.client.AbstractLoadBalancerAwareClient<FeignLoadBalancer.RibbonRequest,FeignLoadBalancer.RibbonResponse>
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.