commit
ddbc1e5b0a
|
|
@ -7254,7 +7254,8 @@ Resources can be specified by using the usual Spring conventions, as shown in th
|
||||||
[[boot-features-web-application-conditions]]
|
[[boot-features-web-application-conditions]]
|
||||||
==== Web Application Conditions
|
==== Web Application Conditions
|
||||||
The `@ConditionalOnWebApplication` and `@ConditionalOnNotWebApplication` annotations let configuration be included depending on whether the application is a "`web application`".
|
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…
Reference in New Issue