Uses of Package
com.ning.http.client.listener

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

Classes in com.ning.http.client.listener used by com.ning.http.client.listener
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();
TransferCompletionHandler.TransferAdapter
           
TransferListener
          A simple interface an application can implements in order to received byte transfer information.
 



Copyright © 2011. All Rights Reserved.