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, isRetriableExceptionderiveHostAndPortFromVipAddress, 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, setRetryHandlerpublic RibbonLoadBalancingHttpClient()
public RibbonLoadBalancingHttpClient(com.netflix.loadbalancer.ILoadBalancer lb)
public void initWithNiwsConfig(com.netflix.client.config.IClientConfig clientConfig)
initWithNiwsConfig in interface com.netflix.client.IClientConfigAwareinitWithNiwsConfig in class com.netflix.loadbalancer.LoadBalancerContextpublic 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
ExceptionCopyright © 2016 Pivotal Software, Inc.. All rights reserved.