public class OkHttpLoadBalancingClient extends AbstractLoadBalancingClient<OkHttpRibbonRequest,OkHttpRibbonResponse,okhttp3.OkHttpClient>
config, connectTimeout, delegate, followRedirects, okToRetryOnAllOperations, readTimeout, secure, serverIntrospector| Constructor and Description |
|---|
OkHttpLoadBalancingClient(com.netflix.client.config.IClientConfig config,
ServerIntrospector serverIntrospector) |
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) |
choose, customizeLoadBalancerCommandBuilder, getDelegate, getRequestSpecificRetryHandler, initWithNiwsConfig, isClientRetryable, isSecure, validateServiceInstancebuildLoadBalancerCommand, 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, setLoadBalancer, setMaxAutoRetries, setMaxAutoRetriesNextServer, setOkToRetryOnAllOperations, setRetryHandlerpublic 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
ExceptionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.