Browse Source

Add mention of CompletionStage in "Async Requests"

Closes gh-34991
pull/35405/head
rstoyanchev 7 months ago
parent
commit
be17315f63
  1. 2
      framework-docs/modules/ROOT/pages/web/webmvc/mvc-ann-async.adoc

2
framework-docs/modules/ROOT/pages/web/webmvc/mvc-ann-async.adoc

@ -433,7 +433,7 @@ reactive types from the controller method. @@ -433,7 +433,7 @@ reactive types from the controller method.
Reactive return values are handled as follows:
* A single-value promise is adapted to, similar to using `DeferredResult`. Examples
include `Mono` (Reactor) or `Single` (RxJava).
include `CompletionStage` (JDK), Mono` (Reactor), and `Single` (RxJava).
* A multi-value stream with a streaming media type (such as `application/x-ndjson`
or `text/event-stream`) is adapted to, similar to using `ResponseBodyEmitter` or
`SseEmitter`. Examples include `Flux` (Reactor) or `Observable` (RxJava).

Loading…
Cancel
Save