"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/docs/asciidoc/web/webflux-functional.adoc" between
spring-framework-5.3.7.tar.gz and spring-framework-5.3.8.tar.gz

About: Spring Framework is an application framework for the Java platform and .NET Framework. Community edition.

webflux-functional.adoc  (spring-framework-5.3.7):webflux-functional.adoc  (spring-framework-5.3.8)
skipping to change at line 173 skipping to change at line 173
---- ----
val string = request.body(BodyExtractors.toMono(String::class.java)).awai tSingle() val string = request.body(BodyExtractors.toMono(String::class.java)).awai tSingle()
val people = request.body(BodyExtractors.toFlux(Person::class.java)).asFl ow() val people = request.body(BodyExtractors.toFlux(Person::class.java)).asFl ow()
---- ----
The following example shows how to access form data: The following example shows how to access form data:
[source,java,role="primary"] [source,java,role="primary"]
.Java .Java
---- ----
Mono<MultiValueMap<String, String> map = request.formData(); Mono<MultiValueMap<String, String>> map = request.formData();
---- ----
[source,kotlin,role="secondary"] [source,kotlin,role="secondary"]
.Kotlin .Kotlin
---- ----
val map = request.awaitFormData() val map = request.awaitFormData()
---- ----
The following example shows how to access multipart data as a map: The following example shows how to access multipart data as a map:
[source,java,role="primary"] [source,java,role="primary"]
.Java .Java
---- ----
Mono<MultiValueMap<String, Part> map = request.multipartData(); Mono<MultiValueMap<String, Part>> map = request.multipartData();
---- ----
[source,kotlin,role="secondary"] [source,kotlin,role="secondary"]
.Kotlin .Kotlin
---- ----
val map = request.awaitMultipartData() val map = request.awaitMultipartData()
---- ----
The following example shows how to access multiparts, one at a time, in streamin g fashion: The following example shows how to access multiparts, one at a time, in streamin g fashion:
[source,java,role="primary"] [source,java,role="primary"]
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)