Example usage for Java org.springframework.web.context.request.async WebAsyncTask fields, constructors, methods, implement or subclass
The text is from its open source code.
WebAsyncTask(long timeout, Callable Create a WebAsyncTask with a timeout value and a Callable . | |
WebAsyncTask(Callable Create a WebAsyncTask wrapping the given Callable . |
Callable> | getCallable() Return the Callable to use for concurrent handling (never null ). |
AsyncTaskExecutor | getExecutor() Return the AsyncTaskExecutor to use for concurrent handling, or null if none specified. |
CallableProcessingInterceptor | getInterceptor() |
Long | getTimeout() Return the timeout value in milliseconds, or null if no timeout is set. |
void | onCompletion(Runnable callback) Register code to invoke when the async request completes. |
void | onTimeout(Callable Register code to invoke when the async request times out. |