public static ProxyHandler proxyHandler ( ProxyClient proxyClient , HttpHandler next ) { return ProxyHandler . builder ( ) . setProxyClient ( proxyClient ) . setNext ( next ) . build ( ) ; }
Returns a handler that can act as a load balancing reverse proxy .