public class Async extends Object
Modifier and Type | Method and Description |
---|---|
Future<Content> |
execute(Request request) |
Future<Content> |
execute(Request request,
FutureCallback<Content> callback) |
<T> Future<T> |
execute(Request request,
ResponseHandler<T> handler) |
<T> Future<T> |
execute(Request request,
ResponseHandler<T> handler,
FutureCallback<T> callback) |
static Async |
newInstance() |
Async |
use(Executor executor) |
Async |
use(Executor concurrentExec) |
public static Async newInstance()
public <T> Future<T> execute(Request request, ResponseHandler<T> handler, FutureCallback<T> callback)
public <T> Future<T> execute(Request request, ResponseHandler<T> handler)
public Future<Content> execute(Request request, FutureCallback<Content> callback)
Copyright © 2010 - 2020 Adobe. All Rights Reserved