|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 :
@Override
public Response onCompleted(Response response) throws Exception
{
asyncHttpClient.getConfig().executorService().execute(new Runnable()
{
public void run()
{
asyncHttpClient.prepareGet(...);
}
});
return response;
}
|
Methods in com.ning.http.client with parameters of type AsyncHandler | ||
---|---|---|
|
AsyncHttpClient.BoundRequestBuilder.execute(AsyncHandler<T> handler)
|
|
|
AsyncHttpProvider.execute(Request request,
AsyncHandler<T> handler)
Execute the request and invoke the AsyncHandler when the response arrive. |
|
|
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 | ||
---|---|---|
|
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 | ||
---|---|---|
|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |