Commit 15eeedb5 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.1.x'

Closes gh-18380
parents 1fd81477 b97a1d8f
...@@ -71,7 +71,7 @@ public enum Outcome { ...@@ -71,7 +71,7 @@ public enum Outcome {
} }
/** /**
* Return the @code Outcome} for the given HTTP {@code status} code. * Return the {@code Outcome} for the given HTTP {@code status} code.
* @param status the HTTP status code * @param status the HTTP status code
* @return the matching Outcome * @return the matching Outcome
*/ */
......
...@@ -1644,7 +1644,7 @@ For example, `LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_WEB=DEBUG` will set `org.springf ...@@ -1644,7 +1644,7 @@ For example, `LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_WEB=DEBUG` will set `org.springf
NOTE: The above approach will only work for package level logging. NOTE: The above approach will only work for package level logging.
Since relaxed binding always converts environment variables to lowercase, it's not possible to configure logging for an individual class in this way. Since relaxed binding always converts environment variables to lowercase, it's not possible to configure logging for an individual class in this way.
If you need to configure logging for a class, you can use <<boot-features-external-config-application-json, the APPLICATION_JSON>> variable. If you need to configure logging for a class, you can use <<boot-features-external-config-application-json, the SPRING_APPLICATION_JSON>> variable.
...@@ -7266,8 +7266,8 @@ Resources can be specified by using the usual Spring conventions, as shown in th ...@@ -7266,8 +7266,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 servlet based 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 `ConfigurableWebEnvironment`.
A reactive web application is any application that uses a `ReactiveWebApplicationContext`, defines a `session` scope, or has a `ConfigurableReactiveWebEnvironment`. A reactive web application is any application that uses a `ReactiveWebApplicationContext`, or has a `ConfigurableReactiveWebEnvironment`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment