spring-framework/src/docs/asciidoc/web
Sebastien Deleuze 2b4d6ce354 Add body methods with Object parameter to WebFlux
The commit deprecates syncBody(Object) in favor of body(Object)
which has the same behavior in ServerResponse, WebClient and
WebTestClient. It also adds body(Object, Class) and
body(Object, ParameterizedTypeReference) methods in order to support
any reactive type that can be adapted to a Publisher via
ReactiveAdapterRegistry. Related BodyInserters#fromProducer
methods are provided as well.

Shadowed Kotlin body<T>() extensions are deprecated in favor of
bodyWithType<T>() ones, including dedicated Publisher<T> and
Flow<T> variants. Coroutines extensions are adapted as well, and
body(Object) can now be used with suspending functions.

Closes gh-23212
2019-07-07 22:27:57 +02:00
..
integration.adoc URL Cleanup 2019-03-27 22:05:38 +01:00
web-uris.adoc URL Cleanup 2019-03-27 22:05:38 +01:00
webflux-cors.adoc URL Cleanup - polishing 2019-03-28 17:23:13 +01:00
webflux-functional.adoc Merge branch '5.1.x' 2019-06-19 13:59:59 +02:00
webflux-view.adoc Document WebFlux FreeMarker macro support in Reference Manual 2019-06-13 17:40:18 +03:00
webflux-webclient.adoc Add body methods with Object parameter to WebFlux 2019-07-07 22:27:57 +02:00
webflux-websocket.adoc Merge branch '5.1.x' 2019-03-05 14:20:02 +01:00
webflux.adoc Merge branch '5.1.x' 2019-06-21 12:46:21 +03:00
webmvc-client.adoc General doc revision: configuration updates, consistent formatting etc 2019-03-05 13:08:34 +01:00
webmvc-cors.adoc URL Cleanup - polishing 2019-03-28 17:23:13 +01:00
webmvc-test.adoc General doc revision: configuration updates, consistent formatting etc 2019-03-05 13:08:34 +01:00
webmvc-view.adoc Document WebFlux FreeMarker macro support in Reference Manual 2019-06-13 17:40:18 +03:00
webmvc.adoc Merge branch '5.1.x' 2019-06-21 12:46:21 +03:00
websocket-intro.adoc URL Cleanup 2019-03-27 22:05:38 +01:00
websocket.adoc URL Cleanup 2019-03-27 22:05:38 +01:00