public class RibbonLoadBalancingHttpClient extends AbstractLoadBalancingClient<RibbonApacheHttpRequest,RibbonApacheHttpResponse,org.apache.http.impl.client.CloseableHttpClient>
config, connectTimeout, delegate, followRedirects, gzipPayload, okToRetryOnAllOperations, readTimeout, secure, serverIntrospector| Constructor and Description |
|---|
RibbonLoadBalancingHttpClient(org.apache.http.impl.client.CloseableHttpClient delegate,
com.netflix.client.config.IClientConfig config,
ServerIntrospector serverIntrospector) |
RibbonLoadBalancingHttpClient(com.netflix.client.config.IClientConfig config,
ServerIntrospector serverIntrospector) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.impl.client.CloseableHttpClient |
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) |
protected RibbonApacheHttpRequest |
getSecureRequest(RibbonApacheHttpRequest request,
com.netflix.client.config.IClientConfig configOverride) |
URI |
reconstructURIWithServer(com.netflix.loadbalancer.Server server,
URI original) |
choose, customizeLoadBalancerCommandBuilder, getDelegate, 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 RibbonLoadBalancingHttpClient(com.netflix.client.config.IClientConfig config,
ServerIntrospector serverIntrospector)
public RibbonLoadBalancingHttpClient(org.apache.http.impl.client.CloseableHttpClient delegate,
com.netflix.client.config.IClientConfig config,
ServerIntrospector serverIntrospector)
protected org.apache.http.impl.client.CloseableHttpClient createDelegate(com.netflix.client.config.IClientConfig config)
createDelegate in class AbstractLoadBalancingClient<RibbonApacheHttpRequest,RibbonApacheHttpResponse,org.apache.http.impl.client.CloseableHttpClient>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.impl.client.CloseableHttpClient>protected RibbonApacheHttpRequest getSecureRequest(RibbonApacheHttpRequest request, com.netflix.client.config.IClientConfig configOverride)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.