Class ConcurrencyLimitingClient

All Implemented Interfaces:
Client<HttpRequest,​HttpResponse>, HttpClient, Unwrappable

public final class ConcurrencyLimitingClient
extends AbstractConcurrencyLimitingClient<HttpRequest,​HttpResponse>
implements HttpClient
An HttpClient decorator that limits the concurrent number of active HTTP requests.

For example:


 WebClientBuilder builder = WebClient.builder(...);
 builder.decorator(ConcurrencyLimitingClient.newDecorator(16));
 WebClient client = builder.build();