title: how to use apache async http client since this is not working
body: <p>I have a very simple client like so</p>
  
  <pre><code>private void start() throws IOReactorException, InterruptedException {
      DefaultHttpAsyncClient client = new DefaultHttpAsyncClient();
  
      HttpAsyncRequestProducer prod = HttpAsyncMethods.createGet("http://b1.bigde.nrel.gov:8080");
  
      HttpAsyncResponseConsumer&lt;Object&gt; handler = new MyResponseHandler();
      FutureCallback&lt;Object&gt; futureCb = new MyFutureCbHandler();
      client.execute(prod, handler, futureCb);
  
      log.info("now sleeping");
      Thread.sleep(30000);
      log.info("done sleeping");
  }
  </code></pre>
  
  <p>The problem is no listener methods are ever called.  MyResponseHandler is extending AsyncCharConsumer but nothing is called on him and nothing is called on FutureCallback.  I never get a response.</p>
  
  <p>NOTE 1: I need to be able to call client.execute and return way up the stack without interacting with Futures</p>
  
  <p>NOTE 2: I need the listener methods called (and need them called as data comes in since the remote end is streaming back http chunking.</p>
  
  <p>Is there a way to get this to work? or should I switch libraries?</p>
  
  <p>thanks,
  Dean</p>