title: Java example for sending non-blocking http request from AKKA
body: <p>It is in AKKA documentation written that </p>
  
  <blockquote>
    <p>... Actors should not block (i.e. passively wait while occupying a Thread) on some external entity, which might be a lock, a network socket, etc. The blocking operations should be done in some special-cased thread which sends messages to the actors which shall act on them.
    <em>source <a href="http://doc.akka.io/docs/akka/2.0/general/actor-systems.html#Actor_Best_Practices" rel="nofollow noreferrer">http://doc.akka.io/docs/akka/2.0/general/actor-systems.html#Actor_Best_Practices</a></em></p>
  </blockquote>
  
  <p>I have found the following information at the moment :</p>
  
  <ol>
  <li><p>I read <a href="https://stackoverflow.com/questions/5432982/sending-outbound-http-request-from-akka-scala/5443161#5443161">Sending outbound HTTP request from Akka / Scala</a> and checked the example at <a href="https://github.com/dsciamma/fbgl1" rel="nofollow noreferrer">https://github.com/dsciamma/fbgl1</a> </p></li>
  <li><p>I found following article <a href="http://nurkiewicz.blogspot.de/2012/11/non-blocking-io-discovering-akka.html" rel="nofollow noreferrer">http://nurkiewicz.blogspot.de/2012/11/non-blocking-io-discovering-akka.html</a> explaining how to use <a href="https://github.com/AsyncHttpClient/async-http-client" rel="nofollow noreferrer">https://github.com/AsyncHttpClient/async-http-client</a> non blocking http client with akka. But is written in Scala. </p></li>
  </ol>
  
  <p>How can i write an actor that make non-blocking http requests? </p>
  
  <p>It must downlad a remote url page as file and than send the generated file object to the master actor. master actor then sends this request to parser actor to parse the file...</p>