final CountDownLatch latch = new CountDownLatch(1);
long t1 = System.currentTimeMillis();
AsyncHttpClient c = new AsyncHttpClient();
try {
final AtomicReference<Response> response = new AtomicReference<Response>();
c.prepareGet(urlTarget + "/foreverWithoutComments").setHeader(X_ATMOSPHERE_TRANSPORT, STREAMING_TRANSPORT).execute(new AsyncCompletionHandler<Response>() {
@Override
public Response onCompleted(Response r) throws Exception {
try {
response.set(r);