WebAsyncTask(callable: Callable<V>)
Create a WebAsyncTask wrapping the given Callable.
callable - the callable for concurrent handling
WebAsyncTask(timeout: Long, callable: Callable<V>)
Create a WebAsyncTask with a timeout value and a Callable.
timeout - a timeout value in milliseconds
callable - the callable for concurrent handling
WebAsyncTask(@Nullable timeout: Long, executorName: String, callable: Callable<V>)
Create a WebAsyncTask with a timeout value, an executor name, and a Callable.
timeout - timeout value in milliseconds; ignored if null
executorName - the name of an executor bean to use
callable - the callable for concurrent handling
WebAsyncTask(@Nullable timeout: Long, executor: AsyncTaskExecutor, callable: Callable<V>)
Create a WebAsyncTask with a timeout value, an executor instance, and a Callable.
timeout - timeout value in milliseconds; ignored if null