public class OkHttpLoadBalancingClient extends AbstractLoadBalancingClient<OkHttpRibbonRequest,OkHttpRibbonResponse,okhttp3.OkHttpClient>
config, connectTimeout, delegate, followRedirects, okToRetryOnAllOperations, readTimeout, secure, serverIntrospector
Constructor and Description |
---|
OkHttpLoadBalancingClient()
Deprecated.
|
OkHttpLoadBalancingClient(com.netflix.client.config.IClientConfig config,
ServerIntrospector serverIntrospector) |
OkHttpLoadBalancingClient(com.netflix.loadbalancer.ILoadBalancer lb)
Deprecated.
|
OkHttpLoadBalancingClient(okhttp3.OkHttpClient delegate,
com.netflix.client.config.IClientConfig config,
ServerIntrospector serverIntrospector) |
Modifier and Type | Method and Description |
---|---|
protected okhttp3.OkHttpClient |
createDelegate(com.netflix.client.config.IClientConfig config) |
OkHttpRibbonResponse |
execute(OkHttpRibbonRequest ribbonRequest,
com.netflix.client.config.IClientConfig configOverride) |
URI |
reconstructURIWithServer(com.netflix.loadbalancer.Server server,
URI original) |
getDelegate, getRequestSpecificRetryHandler, 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 OkHttpLoadBalancingClient()
@Deprecated public OkHttpLoadBalancingClient(com.netflix.loadbalancer.ILoadBalancer lb)
public OkHttpLoadBalancingClient(com.netflix.client.config.IClientConfig config, ServerIntrospector serverIntrospector)
public OkHttpLoadBalancingClient(okhttp3.OkHttpClient delegate, com.netflix.client.config.IClientConfig config, ServerIntrospector serverIntrospector)
protected okhttp3.OkHttpClient createDelegate(com.netflix.client.config.IClientConfig config)
createDelegate
in class AbstractLoadBalancingClient<OkHttpRibbonRequest,OkHttpRibbonResponse,okhttp3.OkHttpClient>
public OkHttpRibbonResponse execute(OkHttpRibbonRequest ribbonRequest, com.netflix.client.config.IClientConfig configOverride) throws Exception
Exception
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.