Uses of Class
com.ning.http.client.AsyncCompletionHandler

Packages that use AsyncCompletionHandler
com.ning.http.client   
 

Uses of AsyncCompletionHandler in com.ning.http.client
 

Subclasses of AsyncCompletionHandler in com.ning.http.client
 class AsyncCompletionHandlerBase
          Simple AsyncHandler of type Response NOTE: Sending another asynchronous request from an AsyncHandler must be done using another thread to avoid potential deadlock inside the AsyncHttpProvider The recommended way is to use the ExecutorService from the AsyncHttpClientConfig: @Override public Response onCompleted(Response response) throws Exception { asyncHttpClient.getConfig().executorService().execute(new Runnable() { public void run() { asyncHttpClient.prepareGet(...); } }); return response; }
 



Copyright © 2010. All Rights Reserved.