this.destination = destination;
}
public void handleRequest(final HttpServerExchange exchange) {
final HttpServerConnection serverConnection = exchange.getConnection();
final HttpClientConnection clientConnection = serverConnection.getAttachment(proxyConnection);
if (clientConnection == null) {
exchange.dispatch(SameThreadExecutor.INSTANCE, new Runnable() {
@Override
public void run() {
client.connect(exchange.getIoThread(), destination, OptionMap.EMPTY).addNotifier(notifier, exchange);