ResolvedAddress - The type of address after resolution.public interface HttpLoadBalancerFactory<ResolvedAddress> extends LoadBalancerFactory<ResolvedAddress,FilterableStreamingHttpLoadBalancedConnection>
LoadBalancerFactory for HTTP clients.| Modifier and Type | Method and Description |
|---|---|
LoadBalancer<? extends FilterableStreamingHttpLoadBalancedConnection> |
newLoadBalancer(Publisher<? extends ServiceDiscovererEvent<ResolvedAddress>> eventPublisher,
ConnectionFactory<ResolvedAddress,? extends FilterableStreamingHttpLoadBalancedConnection> cf) |
FilterableStreamingHttpLoadBalancedConnection |
toLoadBalancedConnection(FilterableStreamingHttpConnection connection)
Converts the passed
FilterableStreamingHttpConnection to a
FilterableStreamingHttpLoadBalancedConnection. |
LoadBalancer<? extends FilterableStreamingHttpLoadBalancedConnection> newLoadBalancer(Publisher<? extends ServiceDiscovererEvent<ResolvedAddress>> eventPublisher, ConnectionFactory<ResolvedAddress,? extends FilterableStreamingHttpLoadBalancedConnection> cf)
newLoadBalancer in interface LoadBalancerFactory<ResolvedAddress,FilterableStreamingHttpLoadBalancedConnection>FilterableStreamingHttpLoadBalancedConnection toLoadBalancedConnection(FilterableStreamingHttpConnection connection)
FilterableStreamingHttpConnection to a
FilterableStreamingHttpLoadBalancedConnection.connection - FilterableStreamingHttpConnection to convert.FilterableStreamingHttpLoadBalancedConnection for the passed
FilterableStreamingHttpConnection.