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

Consistently support CompletionStage next to CompletableFuture [SPR-15258] #19823

Closed
spring-issuemaster opened this issue Feb 15, 2017 · 0 comments

Comments

@spring-issuemaster
Copy link
Collaborator

commented Feb 15, 2017

Juergen Hoeller opened SPR-15258 and commented

As of 4.2, we're supporting CompletableFuture for MVC handler methods and message handler methods, but its sibling CompletionStage only for MVC handler methods. Let's fix this gap for 4.3.7, supporting CompletionStage return types there as well, and document that support for both kinds of handler methods.


Affects: 4.3.6

Issue Links:

  • #16821 Support CompletableFuture as return value in @MessageMapping handlers
  • #17198 Support CompletableFuture as alternative to DeferredResult in MVC
  • #19964 Async annotation should allow for non-blocking execution with CompletableFuture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.