Uses of Interface
com.ning.http.client.AsyncHandler

Packages that use AsyncHandler
com.ning.http.client   
com.ning.http.client.filter   
com.ning.http.client.listener   
com.ning.http.client.providers.apache   
com.ning.http.client.providers.grizzly   
com.ning.http.client.providers.jdk   
com.ning.http.client.providers.netty   
com.ning.http.client.resumable   
com.ning.http.client.webdav   
com.ning.http.client.websocket   
 

Uses of AsyncHandler in com.ning.http.client
 

Subinterfaces of AsyncHandler in com.ning.http.client
 interface ProgressAsyncHandler<T>
          An extended AsyncHandler with two extra callback who get invoked during the content upload to a remote server.
 

Classes in com.ning.http.client that implement AsyncHandler
 class AsyncCompletionHandler<T>
          An AsyncHandler augmented with an AsyncCompletionHandler.onCompleted(Response) convenience method which gets called when the Response processing is finished.
 class AsyncCompletionHandlerBase
          Simple AsyncHandler of type Response
 class BodyDeferringAsyncHandler
          An AsyncHandler that returns Response (without body, so status code and headers only) as fast as possible for inspection, but leaves you the option to defer body consumption.
 

Methods in com.ning.http.client with parameters of type AsyncHandler
<T> ListenableFuture<T>
AsyncHttpClient.BoundRequestBuilder.execute(AsyncHandler<T> handler)
           
<T> ListenableFuture<T>
AsyncHttpProvider.execute(Request request, AsyncHandler<T> handler)
          Execute the request and invoke the AsyncHandler when the response arrive.
<T> ListenableFuture<T>
AsyncHttpClient.executeRequest(Request request, AsyncHandler<T> handler)
          Execute an HTTP request.
 

Uses of AsyncHandler in com.ning.http.client.filter
 

Methods in com.ning.http.client.filter that return AsyncHandler
 AsyncHandler<T> FilterContext.getAsyncHandler()
          Return the original or decorated AsyncHandler
 AsyncHandler<T> FilterContext.FilterContextBuilder.getAsyncHandler()
           
 

Methods in com.ning.http.client.filter with parameters of type AsyncHandler
 FilterContext.FilterContextBuilder FilterContext.FilterContextBuilder.asyncHandler(AsyncHandler<T> asyncHandler)
           
 

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

Classes in com.ning.http.client.listener that implement AsyncHandler
 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();

 

Uses of AsyncHandler in com.ning.http.client.providers.apache
 

Methods in com.ning.http.client.providers.apache with parameters of type AsyncHandler
<T> ListenableFuture<T>
ApacheAsyncHttpProvider.execute(Request request, AsyncHandler<T> handler)
           
 

Constructors in com.ning.http.client.providers.apache with parameters of type AsyncHandler
ApacheAsyncHttpProvider.ApacheClientRunnable(Request request, AsyncHandler<T> asyncHandler, org.apache.commons.httpclient.HttpMethodBase method, ApacheResponseFuture<T> future, org.apache.commons.httpclient.HttpClient httpClient)
           
ApacheResponseFuture(AsyncHandler<V> asyncHandler, int responseTimeoutInMs, Request request, org.apache.commons.httpclient.HttpMethodBase method)
           
 

Uses of AsyncHandler in com.ning.http.client.providers.grizzly
 

Methods in com.ning.http.client.providers.grizzly with parameters of type AsyncHandler
protected
<T> ListenableFuture<T>
GrizzlyAsyncHttpProvider.execute(org.glassfish.grizzly.Connection c, Request request, AsyncHandler<T> handler, GrizzlyResponseFuture<T> future, boolean forceTxContextExist)
           
<T> ListenableFuture<T>
GrizzlyAsyncHttpProvider.execute(Request request, AsyncHandler<T> handler)
          Execute the request and invoke the AsyncHandler when the response arrive.
 

Uses of AsyncHandler in com.ning.http.client.providers.jdk
 

Fields in com.ning.http.client.providers.jdk declared as AsyncHandler
protected  AsyncHandler<V> JDKFuture.asyncHandler
           
 

Methods in com.ning.http.client.providers.jdk with parameters of type AsyncHandler
<T> ListenableFuture<T>
JDKAsyncHttpProvider.execute(Request request, AsyncHandler<T> handler)
           
<T> ListenableFuture<T>
JDKAsyncHttpProvider.execute(Request request, AsyncHandler<T> handler, ListenableFuture<?> future)
           
 

Constructors in com.ning.http.client.providers.jdk with parameters of type AsyncHandler
JDKDelegateFuture(AsyncHandler<V> asyncHandler, int responseTimeoutInMs, ListenableFuture<V> delegateFuture, HttpURLConnection urlConnection)
           
JDKFuture(AsyncHandler<V> asyncHandler, int responseTimeoutInMs, HttpURLConnection urlConnection)
           
 

Uses of AsyncHandler in com.ning.http.client.providers.netty
 

Methods in com.ning.http.client.providers.netty that return AsyncHandler
protected  AsyncHandler<V> NettyResponseFuture.getAsyncHandler()
           
 

Methods in com.ning.http.client.providers.netty with parameters of type AsyncHandler
<T> ListenableFuture<T>
NettyAsyncHttpProvider.execute(Request request, AsyncHandler<T> asyncHandler)
           
static
<T> NettyResponseFuture<T>
NettyAsyncHttpProvider.newFuture(UriComponents uri, Request request, AsyncHandler<T> asyncHandler, org.jboss.netty.handler.codec.http.HttpRequest nettyRequest, AsyncHttpClientConfig config, NettyAsyncHttpProvider provider, ProxyServer proxyServer)
           
 

Constructors in com.ning.http.client.providers.netty with parameters of type AsyncHandler
NettyResponseFuture(UriComponents uri, Request request, AsyncHandler<V> asyncHandler, org.jboss.netty.handler.codec.http.HttpRequest nettyRequest, int requestTimeoutInMs, int idleConnectionTimeoutInMs, NettyAsyncHttpProvider asyncHttpProvider, ConnectionPoolKeyStrategy connectionPoolKeyStrategy, ProxyServer proxyServer)
           
 

Uses of AsyncHandler in com.ning.http.client.resumable
 

Classes in com.ning.http.client.resumable that implement AsyncHandler
 class ResumableAsyncHandler<T>
          An AsyncHandler which support resumable download, e.g when used with an ResumableIOExceptionFilter, this handler can resume the download operation at the point it was before the interruption occured.
 

Constructors in com.ning.http.client.resumable with parameters of type AsyncHandler
ResumableAsyncHandler(AsyncHandler<T> decoratedAsyncHandler)
           
ResumableAsyncHandler(long byteTransferred, AsyncHandler<T> decoratedAsyncHandler)
           
 

Uses of AsyncHandler in com.ning.http.client.webdav
 

Classes in com.ning.http.client.webdav that implement AsyncHandler
 class WebDavCompletionHandlerBase<T>
          Simple AsyncHandler that add support for WebDav's response manipulation.
 

Uses of AsyncHandler in com.ning.http.client.websocket
 

Classes in com.ning.http.client.websocket that implement AsyncHandler
 class WebSocketUpgradeHandler
          An AsyncHandler which is able to execute WebSocket upgrade.
 



Copyright © 2014. All Rights Reserved.