Java org.springframework.web.context.request.async WebAsyncTask fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.context.request.async WebAsyncTask fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.context.request.async WebAsyncTask.

The text is from its open source code.

Constructor

WebAsyncTask(long timeout, Callable callable)
Create a WebAsyncTask with a timeout value and a Callable .
WebAsyncTask(Callable callable)
Create a WebAsyncTask wrapping the given Callable .

Method

CallablegetCallable()
Return the Callable to use for concurrent handling (never null ).
AsyncTaskExecutorgetExecutor()
Return the AsyncTaskExecutor to use for concurrent handling, or null if none specified.
CallableProcessingInterceptorgetInterceptor()
LonggetTimeout()
Return the timeout value in milliseconds, or null if no timeout is set.
voidonCompletion(Runnable callback)
Register code to invoke when the async request completes.
voidonTimeout(Callable callback)
Register code to invoke when the async request times out.