Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

spring-projects-issues opened this issue May 29, 2013 · 1 comment
type: enhancement A general enhancement


Copy link

spring-projects-issues commented May 29, 2013

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

Copy link
Collaborator Author

spring-projects-issues commented Jun 20, 2013

Rossen Stoyanchev commented

I've added hasResult() and getResult() methods that should help. It's not as nice as getting it passed in but it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
type: enhancement A general enhancement
None yet

No branches or pull requests

2 participants