void handleRequest ( final ModClusterProxyTarget target , final HttpServerExchange exchange , final ProxyCallback < ProxyConnection > callback , long timeout , TimeUnit timeUnit , boolean exclusive ) { if ( addRequest ( ) ) { exchange . addExchangeCompleteListener ( new ExchangeCompletionListener ( ) { @ Override public void exchangeEvent ( HttpServerExchange exchange , NextListener nextListener ) { requestDone ( ) ; nextListener . proceed ( ) ; } } ) ; node . getConnectionPool ( ) . connect ( target , exchange , callback , timeout , timeUnit , exclusive ) ; } else { callback . failed ( exchange ) ; } }
Handle a proxy request for this context .