public static RequestLimitingHandler requestLimitingHandler ( final int maxRequest , final int queueSize , HttpHandler next ) { return new RequestLimitingHandler ( maxRequest , queueSize , next ) ; }
Returns a handler that limits the maximum number of requests that can run at a time .