Skip to content

Make result-data accessible in onCompletion Event in DeferredResult [SPR-10603] #15232

Closed
@spring-projects-issues

Description

@spring-projects-issues

Kevin Armenat opened SPR-10603 and commented

I'm trying to access the Result-Data from DeferredResult in onCompletion callback to be able to store these Data in a Session-Scoped bean to cache the result for page reloads (since access to Session-Scoped beans seems only be possible from the web request thread and this callback will be fired from there).
It would be great to have a similar callback as "setResultHandler" has.


Issue Links:

Referenced from: commits c6ecaac

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions