ResolvedAddress - The type of address after resolution.public interface HttpLoadBalancerFactory<ResolvedAddress> extends LoadBalancerFactory<ResolvedAddress,FilterableStreamingHttpLoadBalancedConnection>
LoadBalancerFactory for HTTP clients.| Modifier and Type | Interface and Description |
|---|---|
static class |
HttpLoadBalancerFactory.DefaultFilterableStreamingHttpLoadBalancedConnection
Default implementation of
FilterableStreamingHttpLoadBalancedConnection. |
| Modifier and Type | Method and Description |
|---|---|
default HttpExecutionStrategy |
requiredOffloads() |
default FilterableStreamingHttpLoadBalancedConnection |
toLoadBalancedConnection(FilterableStreamingHttpConnection connection)
Deprecated.
|
default FilterableStreamingHttpLoadBalancedConnection |
toLoadBalancedConnection(FilterableStreamingHttpConnection connection,
ReservableRequestConcurrencyController concurrencyController,
ContextMap context)
Converts the passed
FilterableStreamingHttpConnection to a
FilterableStreamingHttpLoadBalancedConnection. |
@Deprecated default FilterableStreamingHttpLoadBalancedConnection toLoadBalancedConnection(FilterableStreamingHttpConnection connection)
toLoadBalancedConnection(FilterableStreamingHttpConnection,
ReservableRequestConcurrencyController, ContextMap)FilterableStreamingHttpConnection to a
FilterableStreamingHttpLoadBalancedConnection.connection - FilterableStreamingHttpConnection to convertFilterableStreamingHttpLoadBalancedConnection for the passed
FilterableStreamingHttpConnectiondefault FilterableStreamingHttpLoadBalancedConnection toLoadBalancedConnection(FilterableStreamingHttpConnection connection, ReservableRequestConcurrencyController concurrencyController, @Nullable ContextMap context)
FilterableStreamingHttpConnection to a
FilterableStreamingHttpLoadBalancedConnection.connection - FilterableStreamingHttpConnection to convertconcurrencyController - ReservableRequestConcurrencyController to control access to the connectioncontext - A context of the caller (e.g. request/LB context) or null if no contextFilterableStreamingHttpLoadBalancedConnection for the passed
FilterableStreamingHttpConnection
provideddefault HttpExecutionStrategy requiredOffloads()
requiredOffloads in interface ExecutionStrategyInfluencer<ExecutionStrategy>requiredOffloads in interface LoadBalancerFactory<ResolvedAddress,FilterableStreamingHttpLoadBalancedConnection>