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, isSecure
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, 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
Exception
public URI reconstructURIWithServer(com.netflix.loadbalancer.Server server, URI original)
reconstructURIWithServer
in class com.netflix.loadbalancer.LoadBalancerContext
public 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.