From 639a254e0d7e2835661f586593626dc049ecad6d Mon Sep 17 00:00:00 2001 From: Sebastien Deleuze Date: Wed, 17 Jul 2019 16:44:34 +0200 Subject: [PATCH] Polishing --- src/docs/asciidoc/languages/kotlin.adoc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/docs/asciidoc/languages/kotlin.adoc b/src/docs/asciidoc/languages/kotlin.adoc index 7d514c9208..a0004f699a 100644 --- a/src/docs/asciidoc/languages/kotlin.adoc +++ b/src/docs/asciidoc/languages/kotlin.adoc @@ -131,8 +131,8 @@ since the later requires a reference to the outer class. The Spring Framework also takes advantage of https://kotlinlang.org/docs/reference/null-safety.html[Kotlin null-safety] to determine if a HTTP parameter is required without having to explicitly -define the `required` attribute. That means `@RequestParam name: String?` is treated -as not required and, conversely, `@RequestParam name: String` is treated as being required. +define the `required` attribute. That means `@RequestParam name: String?` is treated +as not required and, conversely, `@RequestParam name: String` is treated as being required. This feature is also supported on the Spring Messaging `@Header` annotation. In a similar fashion, Spring bean injection with `@Autowired`, `@Bean`, or `@Inject` uses @@ -417,6 +417,8 @@ dependencies { } ---- +Version `1.3.0` and above are supported. + === How Reactive translates to Coroutines? For return values, the translation from Reactive to Coroutines APIs is the following: @@ -541,7 +543,7 @@ class CoroutinesViewController(banner: Banner) { === WebFlux.fn -Here is an example of Coroutines router definined via the {doc-root}/spring-framework/docs/{spring-version}/kdoc-api/spring-framework/org.springframework.web.reactive.function.server/co-router.html[coRouter { }] DSL and related handlers. +Here is an example of Coroutines router defined via the {doc-root}/spring-framework/docs/{spring-version}/kdoc-api/spring-framework/org.springframework.web.reactive.function.server/co-router.html[coRouter { }] DSL and related handlers. [source,kotlin,indent=0] ----