Now, I want to implement an event listener to make network request to async like Object-c or Js. I wanna to got the HeaderReceive开发者_Python百科d evnent, How much bytes downloaded(means progress),got response event. How can I do that?
look at AsyncHttpClient. It's a good framework written by Jean-François Arcand (which has largely contributed to the Glassfish Application Server by writing large parts of the Grizzly web server)
精彩评论