executor.execute(new Runnable() {
public void run() {
resource.handleRequest(exchange);
} });
} else {
resource.handleRequest(exchange);
}
} else {
LOGGER.info("Did not find resource " + path.toString());
exchange.sendResponse(new Response(ResponseCode.NOT_FOUND));
}