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

Packages that use AsyncCompletionHandler
com.ning.http.client   
com.ning.http.client.listener   
 

Uses of AsyncCompletionHandler in com.ning.http.client
 

Subclasses of AsyncCompletionHandler in com.ning.http.client
 class AsyncCompletionHandlerBase
          Simple AsyncHandler of type Response
 

Uses of AsyncCompletionHandler in com.ning.http.client.listener
 

Subclasses of AsyncCompletionHandler in com.ning.http.client.listener
 class TransferCompletionHandler
          A AsyncHandler that can be used to notify a set of TransferListener AsyncHttpClient client = new AsyncHttpClient(); TransferCompletionHandler tl = new TransferCompletionHandler(); tl.addTransferListener(new TransferListener() { public void onRequestHeadersSent(FluentCaseInsensitiveStringsMap headers) { } public void onResponseHeadersReceived(FluentCaseInsensitiveStringsMap headers) { } public void onBytesReceived(ByteBuffer buffer) { } public void onBytesSent(ByteBuffer buffer) { } public void onRequestResponseCompleted() { } public void onThrowable(Throwable t) { } }); Response response = httpClient.prepareGet("http://...").execute(tl).get();
 



Copyright © 2011. All Rights Reserved.