From dbccb705a8c9559d41e490abd2d5e40a64cdc87c Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 30 Aug 2019 14:52:27 -0700 Subject: [PATCH] Clarify "Web Application Conditions" documentation Update the reference documentation so that "Web Application Conditions" also covers reactive contexts. Closes gh-18005 --- .../src/main/asciidoc/spring-boot-features.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 8b173be4b19..1a33412bb65 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -6931,7 +6931,8 @@ Resources can be specified by using the usual Spring conventions, as shown in th [[boot-features-web-application-conditions]] ==== Web Application Conditions The `@ConditionalOnWebApplication` and `@ConditionalOnNotWebApplication` annotations let configuration be included depending on whether the application is a "`web application`". -A web application is any application that uses a Spring `WebApplicationContext`, defines a `session` scope, or has a `StandardServletEnvironment`. +A servlet based web application is any application that uses a Spring `WebApplicationContext`, defines a `session` scope, or has a `StandardServletEnvironment`. +A reactive web application is any application that uses a `ReactiveWebApplicationContext`, defines a `session` scope, or has a `ConfigurableReactiveWebEnvironment`.