From f293c4d84bb87c9e2d2b68da2bce7ff6e3a7bdae Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Tue, 4 Apr 2017 17:32:24 -0400 Subject: [PATCH] Doc use of reactive types in Spring MVC controllers Issue: SPR-15365 --- .../web/bind/annotation/RequestMapping.java | 80 +++++++++---------- .../annotation/AsyncSupportConfigurer.java | 5 ++ .../web/servlet/config/spring-mvc.xsd | 7 +- src/docs/asciidoc/web/web-mvc.adoc | 78 ++++++++++++++---- 4 files changed, 111 insertions(+), 59 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java b/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java index 4628023bb8a..5eae6665105 100644 --- a/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java +++ b/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java @@ -34,7 +34,7 @@ import org.springframework.core.annotation.AliasFor; * types, in arbitrary order (except for validation results, which need to * follow right after the corresponding command object, if desired): * @@ -160,64 +157,63 @@ import org.springframework.core.annotation.AliasFor; * *

The following return types are supported for handler methods: *