104105106107108109110111112113114
RequestFuture future = request.getFuture(); if (future != null) { future.setResponse(response); future.setDone(true); synchronized (future) { future.notifyAll(); } } } }