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.providers.jdk   
com.ning.http.client.providers.netty   
com.ning.http.client.webdav   
 

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 has been fully received.
 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: &#64;Override public Response onCompleted(Response response) throws Exception &#123; asyncHttpClient.getConfig().executorService().execute(new Runnable() &#123; public void run() &#123; asyncHttpClient.prepareGet(...); &#125; &#125;); return response; &#125;
 

Methods in com.ning.http.client with parameters of type AsyncHandler
<T> Future<T>
AsyncHttpClient.BoundRequestBuilder.execute(AsyncHandler<T> handler)
           
<T> Future<T>
AsyncHttpProvider.execute(Request request, AsyncHandler<T> handler)
          Execute the request and invoke the AsyncHandler when the response arrive.
<T> Future<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> AsyncFilterContext.getAsyncHandler()
           
 

Constructors in com.ning.http.client.filter with parameters of type AsyncHandler
AsyncFilterContext(AsyncHandler<T> asyncHandler, Request request)
           
 

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

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

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

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

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

Methods in com.ning.http.client.providers.netty with parameters of type AsyncHandler
<T> Future<T>
NettyAsyncHttpProvider.execute(Request request, AsyncHandler<T> asyncHandler)
           
 

Constructors in com.ning.http.client.providers.netty with parameters of type AsyncHandler
NettyResponseFuture(URI uri, Request request, AsyncHandler<V> asyncHandler, org.jboss.netty.handler.codec.http.HttpRequest nettyRequest, int responseTimeoutInMs, NettyAsyncHttpProvider asyncHttpProvider)
           
 

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.
 



Copyright © 2010. All Rights Reserved.