Phil Webb opened SPR-9369 and commented
The StaleAsyncWebRequestException added as part of #13162 is thrown when an async request has gone stale. Since the exception can be handled using the usual MVC semantics it might be useful to add more context to the exception. One option might be to add a get getSource() method that could return the Callable or DeferredResult object that was returned from the original @Controller method.
An example use case for this might be to send a user to a user an email if a timeout occurs.
Affects: 3.1.1
Issue Links: