public class RibbonLoadBalancingHttpClient extends AbstractLoadBalancingClient<RibbonApacheHttpRequest,RibbonApacheHttpResponse,org.apache.http.client.HttpClient>
config, connectTimeout, delegate, followRedirects, okToRetryOnAllOperations, readTimeout, secure, serverIntrospector| Constructor and Description |
|---|
RibbonLoadBalancingHttpClient()
Deprecated.
|
RibbonLoadBalancingHttpClient(org.apache.http.client.HttpClient delegate,
com.netflix.client.config.IClientConfig config,
ServerIntrospector serverIntrospector) |
RibbonLoadBalancingHttpClient(com.netflix.client.config.IClientConfig config,
ServerIntrospector serverIntrospector) |
RibbonLoadBalancingHttpClient(com.netflix.loadbalancer.ILoadBalancer lb)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.client.HttpClient |
createDelegate(com.netflix.client.config.IClientConfig config) |
RibbonApacheHttpResponse |
execute(RibbonApacheHttpRequest request,
com.netflix.client.config.IClientConfig configOverride) |
com.netflix.client.RequestSpecificRetryHandler |
getRequestSpecificRetryHandler(RibbonApacheHttpRequest request,
com.netflix.client.config.IClientConfig requestConfig) |
URI |
reconstructURIWithServer(com.netflix.loadbalancer.Server server,
URI original) |
getDelegate, initWithNiwsConfig, isSecureexecuteWithLoadBalancer, 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, setLoadBalancer, setMaxAutoRetries, setMaxAutoRetriesNextServer, setOkToRetryOnAllOperations, setRetryHandler@Deprecated public RibbonLoadBalancingHttpClient()
@Deprecated public RibbonLoadBalancingHttpClient(com.netflix.loadbalancer.ILoadBalancer lb)
public RibbonLoadBalancingHttpClient(com.netflix.client.config.IClientConfig config,
ServerIntrospector serverIntrospector)
public RibbonLoadBalancingHttpClient(org.apache.http.client.HttpClient delegate,
com.netflix.client.config.IClientConfig config,
ServerIntrospector serverIntrospector)
protected org.apache.http.client.HttpClient createDelegate(com.netflix.client.config.IClientConfig config)
createDelegate in class AbstractLoadBalancingClient<RibbonApacheHttpRequest,RibbonApacheHttpResponse,org.apache.http.client.HttpClient>public RibbonApacheHttpResponse execute(RibbonApacheHttpRequest request, com.netflix.client.config.IClientConfig configOverride) throws Exception
Exceptionpublic URI reconstructURIWithServer(com.netflix.loadbalancer.Server server, URI original)
reconstructURIWithServer in class com.netflix.loadbalancer.LoadBalancerContextpublic com.netflix.client.RequestSpecificRetryHandler getRequestSpecificRetryHandler(RibbonApacheHttpRequest request, com.netflix.client.config.IClientConfig requestConfig)
getRequestSpecificRetryHandler in class AbstractLoadBalancingClient<RibbonApacheHttpRequest,RibbonApacheHttpResponse,org.apache.http.client.HttpClient>Copyright © 2017 Pivotal Software, Inc.. All rights reserved.