A {@code CallableProcessingInterceptor} is invoked before and after theinvocation of the {@code Callable} task in the asynchronous thread, as wellas on timeout from a container thread, or after completing for any reason including a timeout or network error.
As a general rule exceptions raised by interceptor methods will cause async processing to resume by dispatching back to the container and using the Exception instance as the concurrent result. Such exceptions will then be processed through the {@code HandlerExceptionResolver} mechanism.
The {@link #handleTimeout(NativeWebRequest,Callable) afterTimeout} methodcan select a value to be used to resume processing. @author Rossen Stoyanchev @author Rob Winch @since 3.2
|
|
|
|
|
|