Clarify "Web Application Conditions" documentation
Update the reference documentation so that "Web Application Conditions" also covers reactive contexts. Closes gh-18005
This commit is contained in:
parent
5938ca78b6
commit
dbccb705a8
@ -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`.
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user