public class RibbonLoadBalancingHttpClient extends com.netflix.client.AbstractLoadBalancerAwareClient<RibbonApacheHttpRequest,RibbonApacheHttpResponse>
Constructor and Description |
---|
RibbonLoadBalancingHttpClient() |
RibbonLoadBalancingHttpClient(com.netflix.loadbalancer.ILoadBalancer lb) |
Modifier and Type | Method and Description |
---|---|
RibbonApacheHttpResponse |
execute(RibbonApacheHttpRequest request,
com.netflix.client.config.IClientConfig configOverride) |
com.netflix.client.RequestSpecificRetryHandler |
getRequestSpecificRetryHandler(RibbonApacheHttpRequest request,
com.netflix.client.config.IClientConfig requestConfig) |
void |
initWithNiwsConfig(com.netflix.client.config.IClientConfig clientConfig) |
executeWithLoadBalancer, executeWithLoadBalancer, isCircuitBreakerException, isRetriable, isRetriableException
deriveHostAndPortFromVipAddress, deriveSchemeAndPortFromPartialUri, generateNIWSException, getClientName, getDeepestCause, getDefaultPortFromScheme, getExecuteTracer, getLoadBalancer, getMaxAutoRetries, getMaxAutoRetriesNextServer, getNumberRetriesOnSameServer, getRetriesNextServer, getRetryHandler, getServerFromLoadBalancer, getServerStats, handleSameServerRetry, isOkToRetryOnAllOperations, noteError, noteOpenConnection, noteRequestCompletion, noteRequestCompletion, noteResponse, reconstructURIWithServer, setLoadBalancer, setMaxAutoRetries, setMaxAutoRetriesNextServer, setOkToRetryOnAllOperations, setRetryHandler
public RibbonLoadBalancingHttpClient()
public RibbonLoadBalancingHttpClient(com.netflix.loadbalancer.ILoadBalancer lb)
public void initWithNiwsConfig(com.netflix.client.config.IClientConfig clientConfig)
initWithNiwsConfig
in interface com.netflix.client.IClientConfigAware
initWithNiwsConfig
in class com.netflix.loadbalancer.LoadBalancerContext
public com.netflix.client.RequestSpecificRetryHandler getRequestSpecificRetryHandler(RibbonApacheHttpRequest request, com.netflix.client.config.IClientConfig requestConfig)
getRequestSpecificRetryHandler
in class com.netflix.client.AbstractLoadBalancerAwareClient<RibbonApacheHttpRequest,RibbonApacheHttpResponse>
public RibbonApacheHttpResponse execute(RibbonApacheHttpRequest request, com.netflix.client.config.IClientConfig configOverride) throws Exception
Exception
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.