Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
a28a3ae0
Commit
a28a3ae0
authored
Mar 30, 2021
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.3.x' into 2.4.x
parents
d9ce30b1
9c8a9780
Changes
55
Hide whitespace changes
Inline
Side-by-side
Showing
55 changed files
with
91 additions
and
86 deletions
+91
-86
MeterValue.java
...mework/boot/actuate/autoconfigure/metrics/MeterValue.java
+1
-1
ServiceLevelAgreementBoundary.java
.../autoconfigure/metrics/ServiceLevelAgreementBoundary.java
+1
-1
ManagementServerProperties.java
.../autoconfigure/web/server/ManagementServerProperties.java
+2
-2
CassandraHealthIndicator.java
...work/boot/actuate/cassandra/CassandraHealthIndicator.java
+1
-1
CassandraReactiveHealthIndicator.java
...t/actuate/cassandra/CassandraReactiveHealthIndicator.java
+1
-1
CachingOperationInvoker.java
...tuate/endpoint/invoker/cache/CachingOperationInvoker.java
+1
-1
WebClientExchangeTags.java
...te/metrics/web/reactive/client/WebClientExchangeTags.java
+2
-2
JobLauncherCommandLineRunner.java
...oot/autoconfigure/batch/JobLauncherCommandLineRunner.java
+1
-1
MongoClientFactory.java
...ramework/boot/autoconfigure/mongo/MongoClientFactory.java
+2
-2
MongoProperties.java
...ngframework/boot/autoconfigure/mongo/MongoProperties.java
+2
-1
ReactiveMongoClientFactory.java
.../boot/autoconfigure/mongo/ReactiveMongoClientFactory.java
+1
-1
BitronixJtaConfiguration.java
...toconfigure/transaction/jta/BitronixJtaConfiguration.java
+1
-1
ResourceProperties.java
...gframework/boot/autoconfigure/web/ResourceProperties.java
+2
-1
WebConversionService.java
...k/boot/autoconfigure/web/format/WebConversionService.java
+1
-1
AbstractErrorWebExceptionHandler.java
.../web/reactive/error/AbstractErrorWebExceptionHandler.java
+2
-2
DefaultErrorWebExceptionHandler.java
...e/web/reactive/error/DefaultErrorWebExceptionHandler.java
+1
-1
WebMvcProperties.java
...work/boot/autoconfigure/web/servlet/WebMvcProperties.java
+1
-1
AbstractErrorController.java
...oconfigure/web/servlet/error/AbstractErrorController.java
+1
-1
DefaultErrorViewResolver.java
...configure/web/servlet/error/DefaultErrorViewResolver.java
+1
-1
ConfigFileApplicationContextInitializer.java
...test/context/ConfigFileApplicationContextInitializer.java
+1
-1
TestPropertyValues.java
...rg/springframework/boot/test/util/TestPropertyValues.java
+1
-1
BuildLog.java
...ringframework/boot/buildpack/platform/build/BuildLog.java
+4
-4
SpringBootExtension.java
.../springframework/boot/gradle/dsl/SpringBootExtension.java
+2
-2
BootArchive.java
...ringframework/boot/gradle/tasks/bundling/BootArchive.java
+6
-6
BootJar.java
...g/springframework/boot/gradle/tasks/bundling/BootJar.java
+1
-1
Layout.java
...in/java/org/springframework/boot/loader/tools/Layout.java
+2
-1
Launcher.java
...c/main/java/org/springframework/boot/loader/Launcher.java
+2
-2
Archive.java
...java/org/springframework/boot/loader/archive/Archive.java
+4
-4
AbstractRunMojo.java
.../java/org/springframework/boot/maven/AbstractRunMojo.java
+1
-1
ArtifactsLibraries.java
...va/org/springframework/boot/maven/ArtifactsLibraries.java
+1
-1
SpringApplication.java
...main/java/org/springframework/boot/SpringApplication.java
+5
-5
SpringApplicationRunListener.java
...rg/springframework/boot/SpringApplicationRunListener.java
+2
-2
SpringApplicationBuilder.java
...pringframework/boot/builder/SpringApplicationBuilder.java
+1
-1
CloudFoundryVcapEnvironmentPostProcessor.java
.../boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.java
+2
-2
ConfigFileApplicationListener.java
...rk/boot/context/config/ConfigFileApplicationListener.java
+1
-1
FilteredPropertySource.java
...framework/boot/context/config/FilteredPropertySource.java
+1
-1
ApplicationEnvironmentPreparedEvent.java
...ot/context/event/ApplicationEnvironmentPreparedEvent.java
+1
-1
ApplicationStartingEvent.java
...ramework/boot/context/event/ApplicationStartingEvent.java
+1
-1
ClasspathLoggingApplicationListener.java
.../context/logging/ClasspathLoggingApplicationListener.java
+1
-1
EmbeddedDatabaseConnection.java
...springframework/boot/jdbc/EmbeddedDatabaseConnection.java
+2
-2
BitronixDependentBeanFactoryPostProcessor.java
...a/bitronix/BitronixDependentBeanFactoryPostProcessor.java
+1
-1
BitronixXAConnectionFactoryWrapper.java
...boot/jta/bitronix/BitronixXAConnectionFactoryWrapper.java
+1
-1
BitronixXADataSourceWrapper.java
...mework/boot/jta/bitronix/BitronixXADataSourceWrapper.java
+1
-1
PoolingConnectionFactoryBean.java
...ework/boot/jta/bitronix/PoolingConnectionFactoryBean.java
+1
-1
PoolingDataSourceBean.java
...ingframework/boot/jta/bitronix/PoolingDataSourceBean.java
+1
-1
package-info.java
...a/org/springframework/boot/jta/bitronix/package-info.java
+1
-1
LoggingSystemProperties.java
...springframework/boot/logging/LoggingSystemProperties.java
+5
-5
UndertowServletWebServer.java
.../boot/web/embedded/undertow/UndertowServletWebServer.java
+3
-3
UndertowServletWebServerFactory.java
...eb/embedded/undertow/UndertowServletWebServerFactory.java
+4
-2
UndertowWebServer.java
...amework/boot/web/embedded/undertow/UndertowWebServer.java
+1
-1
DefaultErrorAttributes.java
...ework/boot/web/reactive/error/DefaultErrorAttributes.java
+1
-1
ErrorAttributes.java
...ingframework/boot/web/reactive/error/ErrorAttributes.java
+1
-1
DefaultErrorAttributes.java
...mework/boot/web/servlet/error/DefaultErrorAttributes.java
+1
-1
ErrorAttributes.java
...ringframework/boot/web/servlet/error/ErrorAttributes.java
+1
-1
ErrorController.java
...ringframework/boot/web/servlet/error/ErrorController.java
+1
-1
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/MeterValue.java
View file @
a28a3ae0
...
@@ -97,7 +97,7 @@ public final class MeterValue {
...
@@ -97,7 +97,7 @@ public final class MeterValue {
* Return a new {@link MeterValue} instance for the given long value.
* Return a new {@link MeterValue} instance for the given long value.
* @param value the source value
* @param value the source value
* @return a {@link MeterValue} instance
* @return a {@link MeterValue} instance
* @deprecated since 2.3
for removal in 2.5
in favor of {@link #valueOf(double)}
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of {@link #valueOf(double)}
*/
*/
@Deprecated
@Deprecated
public
static
MeterValue
valueOf
(
long
value
)
{
public
static
MeterValue
valueOf
(
long
value
)
{
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/ServiceLevelAgreementBoundary.java
View file @
a28a3ae0
...
@@ -27,7 +27,7 @@ import io.micrometer.core.instrument.Meter;
...
@@ -27,7 +27,7 @@ import io.micrometer.core.instrument.Meter;
*
*
* @author Phillip Webb
* @author Phillip Webb
* @since 2.0.0
* @since 2.0.0
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link ServiceLevelObjectiveBoundary}
* {@link ServiceLevelObjectiveBoundary}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/ManagementServerProperties.java
View file @
a28a3ae0
...
@@ -137,7 +137,7 @@ public class ManagementServerProperties {
...
@@ -137,7 +137,7 @@ public class ManagementServerProperties {
* Return the context path with no trailing slash (i.e. the '/' root context is
* Return the context path with no trailing slash (i.e. the '/' root context is
* represented as the empty string).
* represented as the empty string).
* @return the context path (no trailing slash)
* @return the context path (no trailing slash)
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link ManagementServerProperties#getBasePath()}
* {@link ManagementServerProperties#getBasePath()}
*/
*/
@Deprecated
@Deprecated
...
@@ -149,7 +149,7 @@ public class ManagementServerProperties {
...
@@ -149,7 +149,7 @@ public class ManagementServerProperties {
/**
/**
* Set the context path.
* Set the context path.
* @param contextPath the context path
* @param contextPath the context path
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link ManagementServerProperties#setBasePath(String)}
* {@link ManagementServerProperties#setBasePath(String)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java
View file @
a28a3ae0
...
@@ -32,7 +32,7 @@ import org.springframework.util.Assert;
...
@@ -32,7 +32,7 @@ import org.springframework.util.Assert;
* @author Julien Dubois
* @author Julien Dubois
* @author Alexandre Dutra
* @author Alexandre Dutra
* @since 2.0.0
* @since 2.0.0
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link CassandraDriverHealthIndicator}
* {@link CassandraDriverHealthIndicator}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraReactiveHealthIndicator.java
View file @
a28a3ae0
...
@@ -31,7 +31,7 @@ import org.springframework.util.Assert;
...
@@ -31,7 +31,7 @@ import org.springframework.util.Assert;
*
*
* @author Artsiom Yudovin
* @author Artsiom Yudovin
* @since 2.1.0
* @since 2.1.0
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link CassandraDriverHealthIndicator}
* {@link CassandraDriverHealthIndicator}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/invoker/cache/CachingOperationInvoker.java
View file @
a28a3ae0
...
@@ -110,7 +110,7 @@ public class CachingOperationInvoker implements OperationInvoker {
...
@@ -110,7 +110,7 @@ public class CachingOperationInvoker implements OperationInvoker {
* @param timeToLive the maximum time in milliseconds that a response can be cached
* @param timeToLive the maximum time in milliseconds that a response can be cached
* @return a caching version of the invoker or the original instance if caching is not
* @return a caching version of the invoker or the original instance if caching is not
* required
* required
* @deprecated since 2.3
for removal in 2.5
* @deprecated since 2.3
.0 for removal in 2.5.0
*/
*/
@Deprecated
@Deprecated
public
static
OperationInvoker
apply
(
OperationInvoker
invoker
,
long
timeToLive
)
{
public
static
OperationInvoker
apply
(
OperationInvoker
invoker
,
long
timeToLive
)
{
...
...
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java
View file @
a28a3ae0
...
@@ -99,7 +99,7 @@ public final class WebClientExchangeTags {
...
@@ -99,7 +99,7 @@ public final class WebClientExchangeTags {
* {@link ClientResponse#statusCode()} of the given {@code response}.
* {@link ClientResponse#statusCode()} of the given {@code response}.
* @param response the response
* @param response the response
* @return the status tag
* @return the status tag
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #status(ClientResponse, Throwable)}
* {@link #status(ClientResponse, Throwable)}
*/
*/
@Deprecated
@Deprecated
...
@@ -112,7 +112,7 @@ public final class WebClientExchangeTags {
...
@@ -112,7 +112,7 @@ public final class WebClientExchangeTags {
* client.
* client.
* @param throwable the exception
* @param throwable the exception
* @return the status tag
* @return the status tag
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #status(ClientResponse, Throwable)}
* {@link #status(ClientResponse, Throwable)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobLauncherCommandLineRunner.java
View file @
a28a3ae0
...
@@ -30,7 +30,7 @@ import org.springframework.boot.ApplicationRunner;
...
@@ -30,7 +30,7 @@ import org.springframework.boot.ApplicationRunner;
* @author Jean-Pierre Bergamin
* @author Jean-Pierre Bergamin
* @author Mahmoud Ben Hassine
* @author Mahmoud Ben Hassine
* @since 1.0.0
* @since 1.0.0
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link JobLauncherApplicationRunner}
* {@link JobLauncherApplicationRunner}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoClientFactory.java
View file @
a28a3ae0
...
@@ -43,7 +43,7 @@ public class MongoClientFactory extends MongoClientFactorySupport<MongoClient> {
...
@@ -43,7 +43,7 @@ public class MongoClientFactory extends MongoClientFactorySupport<MongoClient> {
* Construct a factory for creating a blocking {@link MongoClient}.
* Construct a factory for creating a blocking {@link MongoClient}.
* @param properties configuration properties
* @param properties configuration properties
* @param environment a Spring {@link Environment} containing configuration properties
* @param environment a Spring {@link Environment} containing configuration properties
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #MongoClientFactory(List)}
* {@link #MongoClientFactory(List)}
*/
*/
@Deprecated
@Deprecated
...
@@ -56,7 +56,7 @@ public class MongoClientFactory extends MongoClientFactorySupport<MongoClient> {
...
@@ -56,7 +56,7 @@ public class MongoClientFactory extends MongoClientFactorySupport<MongoClient> {
* @param properties configuration properties
* @param properties configuration properties
* @param environment a Spring {@link Environment} containing configuration properties
* @param environment a Spring {@link Environment} containing configuration properties
* @param builderCustomizers a list of configuration settings customizers
* @param builderCustomizers a list of configuration settings customizers
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #MongoClientFactory(List)}
* {@link #MongoClientFactory(List)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java
View file @
a28a3ae0
...
@@ -198,7 +198,8 @@ public class MongoProperties {
...
@@ -198,7 +198,8 @@ public class MongoProperties {
/**
/**
* Return the GridFS database name.
* Return the GridFS database name.
* @return the GridFS database name
* @return the GridFS database name
* @deprecated since 2.4 for removal in 2.6 in favor of {@link Gridfs#getDatabase()}
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link Gridfs#getDatabase()}
*/
*/
@DeprecatedConfigurationProperty
(
replacement
=
"spring.data.mongodb.gridfs.database"
)
@DeprecatedConfigurationProperty
(
replacement
=
"spring.data.mongodb.gridfs.database"
)
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/ReactiveMongoClientFactory.java
View file @
a28a3ae0
...
@@ -38,7 +38,7 @@ public class ReactiveMongoClientFactory extends MongoClientFactorySupport<MongoC
...
@@ -38,7 +38,7 @@ public class ReactiveMongoClientFactory extends MongoClientFactorySupport<MongoC
* @param properties configuration properties
* @param properties configuration properties
* @param environment a Spring {@link Environment} containing configuration properties
* @param environment a Spring {@link Environment} containing configuration properties
* @param builderCustomizers a list of configuration settings customizers
* @param builderCustomizers a list of configuration settings customizers
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #ReactiveMongoClientFactory(List)}
* {@link #ReactiveMongoClientFactory(List)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/BitronixJtaConfiguration.java
View file @
a28a3ae0
...
@@ -47,7 +47,7 @@ import org.springframework.util.StringUtils;
...
@@ -47,7 +47,7 @@ import org.springframework.util.StringUtils;
* @author Phillip Webb
* @author Phillip Webb
* @author Andy Wilkinson
* @author Andy Wilkinson
* @author Kazuki Shimizu
* @author Kazuki Shimizu
* @deprecated since 2.3
for removal in 2.5
as the Bitronix project is no longer being
* @deprecated since 2.3
.0 for removal in 2.5.0
as the Bitronix project is no longer being
* maintained
* maintained
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java
View file @
a28a3ae0
...
@@ -31,7 +31,8 @@ import org.springframework.boot.context.properties.DeprecatedConfigurationProper
...
@@ -31,7 +31,8 @@ import org.springframework.boot.context.properties.DeprecatedConfigurationProper
* @author Venil Noronha
* @author Venil Noronha
* @author Kristine Jetzke
* @author Kristine Jetzke
* @since 1.1.0
* @since 1.1.0
* @deprecated since 2.4 for removal in 2.6 in favor of {@link WebProperties.Resources}
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link WebProperties.Resources}
*/
*/
@Deprecated
@Deprecated
@ConfigurationProperties
(
prefix
=
"spring.resources"
,
ignoreUnknownFields
=
false
)
@ConfigurationProperties
(
prefix
=
"spring.resources"
,
ignoreUnknownFields
=
false
)
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/format/WebConversionService.java
View file @
a28a3ae0
...
@@ -50,7 +50,7 @@ public class WebConversionService extends DefaultFormattingConversionService {
...
@@ -50,7 +50,7 @@ public class WebConversionService extends DefaultFormattingConversionService {
* Create a new WebConversionService that configures formatters with the provided date
* Create a new WebConversionService that configures formatters with the provided date
* format, or register the default ones if no custom format is provided.
* format, or register the default ones if no custom format is provided.
* @param dateFormat the custom date format to use for date conversions
* @param dateFormat the custom date format to use for date conversions
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #WebConversionService(DateTimeFormatters)}
* {@link #WebConversionService(DateTimeFormatters)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/AbstractErrorWebExceptionHandler.java
View file @
a28a3ae0
...
@@ -97,7 +97,7 @@ public abstract class AbstractErrorWebExceptionHandler implements ErrorWebExcept
...
@@ -97,7 +97,7 @@ public abstract class AbstractErrorWebExceptionHandler implements ErrorWebExcept
* @param errorAttributes the error attributes
* @param errorAttributes the error attributes
* @param resourceProperties the resource properties
* @param resourceProperties the resource properties
* @param applicationContext the application context
* @param applicationContext the application context
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #AbstractErrorWebExceptionHandler(ErrorAttributes, Resources, ApplicationContext)}
* {@link #AbstractErrorWebExceptionHandler(ErrorAttributes, Resources, ApplicationContext)}
*/
*/
@Deprecated
@Deprecated
...
@@ -157,7 +157,7 @@ public abstract class AbstractErrorWebExceptionHandler implements ErrorWebExcept
...
@@ -157,7 +157,7 @@ public abstract class AbstractErrorWebExceptionHandler implements ErrorWebExcept
* @param request the source request
* @param request the source request
* @param includeStackTrace whether to include the error stacktrace information
* @param includeStackTrace whether to include the error stacktrace information
* @return the error attributes as a Map
* @return the error attributes as a Map
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #getErrorAttributes(ServerRequest, ErrorAttributeOptions)}
* {@link #getErrorAttributes(ServerRequest, ErrorAttributeOptions)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/DefaultErrorWebExceptionHandler.java
View file @
a28a3ae0
...
@@ -97,7 +97,7 @@ public class DefaultErrorWebExceptionHandler extends AbstractErrorWebExceptionHa
...
@@ -97,7 +97,7 @@ public class DefaultErrorWebExceptionHandler extends AbstractErrorWebExceptionHa
* @param resourceProperties the resources configuration properties
* @param resourceProperties the resources configuration properties
* @param errorProperties the error configuration properties
* @param errorProperties the error configuration properties
* @param applicationContext the current application context
* @param applicationContext the current application context
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #DefaultErrorWebExceptionHandler(ErrorAttributes, Resources, ErrorProperties, ApplicationContext)}
* {@link #DefaultErrorWebExceptionHandler(ErrorAttributes, Resources, ErrorProperties, ApplicationContext)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcProperties.java
View file @
a28a3ae0
...
@@ -553,7 +553,7 @@ public class WebMvcProperties {
...
@@ -553,7 +553,7 @@ public class WebMvcProperties {
/**
/**
* Locale resolution options.
* Locale resolution options.
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link org.springframework.boot.autoconfigure.web.WebProperties.LocaleResolver}
* {@link org.springframework.boot.autoconfigure.web.WebProperties.LocaleResolver}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/error/AbstractErrorController.java
View file @
a28a3ae0
...
@@ -75,7 +75,7 @@ public abstract class AbstractErrorController implements ErrorController {
...
@@ -75,7 +75,7 @@ public abstract class AbstractErrorController implements ErrorController {
* @param request the source request
* @param request the source request
* @param includeStackTrace if stack trace elements should be included
* @param includeStackTrace if stack trace elements should be included
* @return the error attributes
* @return the error attributes
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #getErrorAttributes(HttpServletRequest, ErrorAttributeOptions)}
* {@link #getErrorAttributes(HttpServletRequest, ErrorAttributeOptions)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/error/DefaultErrorViewResolver.java
View file @
a28a3ae0
...
@@ -78,7 +78,7 @@ public class DefaultErrorViewResolver implements ErrorViewResolver, Ordered {
...
@@ -78,7 +78,7 @@ public class DefaultErrorViewResolver implements ErrorViewResolver, Ordered {
* Create a new {@link DefaultErrorViewResolver} instance.
* Create a new {@link DefaultErrorViewResolver} instance.
* @param applicationContext the source application context
* @param applicationContext the source application context
* @param resourceProperties resource properties
* @param resourceProperties resource properties
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #DefaultErrorViewResolver(ApplicationContext, Resources)}
* {@link #DefaultErrorViewResolver(ApplicationContext, Resources)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/ConfigFileApplicationContextInitializer.java
View file @
a28a3ae0
...
@@ -28,7 +28,7 @@ import org.springframework.test.context.ContextConfiguration;
...
@@ -28,7 +28,7 @@ import org.springframework.test.context.ContextConfiguration;
* @author Phillip Webb
* @author Phillip Webb
* @since 1.4.0
* @since 1.4.0
* @see org.springframework.boot.context.config.ConfigFileApplicationListener
* @see org.springframework.boot.context.config.ConfigFileApplicationListener
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link ConfigDataApplicationContextInitializer}
* {@link ConfigDataApplicationContextInitializer}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/util/TestPropertyValues.java
View file @
a28a3ae0
...
@@ -314,7 +314,7 @@ public final class TestPropertyValues {
...
@@ -314,7 +314,7 @@ public final class TestPropertyValues {
* Create a new {@link Pair} instance.
* Create a new {@link Pair} instance.
* @param name the name
* @param name the name
* @param value the value
* @param value the value
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #of(String, String)}
* {@link #of(String, String)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/BuildLog.java
View file @
a28a3ae0
...
@@ -47,7 +47,7 @@ public interface BuildLog {
...
@@ -47,7 +47,7 @@ public interface BuildLog {
* @param request the build request
* @param request the build request
* @param imageReference the builder image reference
* @param imageReference the builder image reference
* @return a consumer for progress update events
* @return a consumer for progress update events
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #pullingImage(ImageReference, ImageType)}
* {@link #pullingImage(ImageReference, ImageType)}
*/
*/
@Deprecated
@Deprecated
...
@@ -57,7 +57,7 @@ public interface BuildLog {
...
@@ -57,7 +57,7 @@ public interface BuildLog {
* Log that the builder image has been pulled.
* Log that the builder image has been pulled.
* @param request the build request
* @param request the build request
* @param image the builder image that was pulled
* @param image the builder image that was pulled
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #pulledImage(Image, ImageType)}
* {@link #pulledImage(Image, ImageType)}
*/
*/
@Deprecated
@Deprecated
...
@@ -68,7 +68,7 @@ public interface BuildLog {
...
@@ -68,7 +68,7 @@ public interface BuildLog {
* @param request the build request
* @param request the build request
* @param imageReference the run image reference
* @param imageReference the run image reference
* @return a consumer for progress update events
* @return a consumer for progress update events
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #pullingImage(ImageReference, ImageType)}
* {@link #pullingImage(ImageReference, ImageType)}
*/
*/
@Deprecated
@Deprecated
...
@@ -78,7 +78,7 @@ public interface BuildLog {
...
@@ -78,7 +78,7 @@ public interface BuildLog {
* Log that a run image has been pulled.
* Log that a run image has been pulled.
* @param request the build request
* @param request the build request
* @param image the run image that was pulled
* @param image the run image that was pulled
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #pulledImage(Image, ImageType)}
* {@link #pulledImage(Image, ImageType)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/dsl/SpringBootExtension.java
View file @
a28a3ae0
...
@@ -68,7 +68,7 @@ public class SpringBootExtension {
...
@@ -68,7 +68,7 @@ public class SpringBootExtension {
/**
/**
* Returns the fully-qualified main class name of the application.
* Returns the fully-qualified main class name of the application.
* @return the fully-qualified name of the application's main class
* @return the fully-qualified name of the application's main class
* @deprecated since 2.4
for removal in 2.6
in favor of {@link #getMainClass()}.
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of {@link #getMainClass()}.
*/
*/
@Deprecated
@Deprecated
@ReplacedBy
(
"mainClass"
)
@ReplacedBy
(
"mainClass"
)
...
@@ -79,7 +79,7 @@ public class SpringBootExtension {
...
@@ -79,7 +79,7 @@ public class SpringBootExtension {
/**
/**
* Sets the fully-qualified main class name of the application.
* Sets the fully-qualified main class name of the application.
* @param mainClassName the fully-qualified name of the application's main class
* @param mainClassName the fully-qualified name of the application's main class
* @deprecated since 2.4
for removal in 2.6
in favor of {@link #getMainClass} and
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of {@link #getMainClass} and
* {@link Property#set(Object)}
* {@link Property#set(Object)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootArchive.java
View file @
a28a3ae0
...
@@ -47,7 +47,7 @@ public interface BootArchive extends Task {
...
@@ -47,7 +47,7 @@ public interface BootArchive extends Task {
/**
/**
* Returns the fully-qualified main class name of the application.
* Returns the fully-qualified main class name of the application.
* @return the fully-qualified name of the application's main class
* @return the fully-qualified name of the application's main class
* @deprecated since 2.4
for removal in 2.6
in favor of {@link #getMainClass()}.
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of {@link #getMainClass()}.
*/
*/
@Deprecated
@Deprecated
@ReplacedBy
(
"mainClass"
)
@ReplacedBy
(
"mainClass"
)
...
@@ -56,7 +56,7 @@ public interface BootArchive extends Task {
...
@@ -56,7 +56,7 @@ public interface BootArchive extends Task {
/**
/**
* Sets the fully-qualified main class name of the application.
* Sets the fully-qualified main class name of the application.
* @param mainClassName the fully-qualified name of the application's main class
* @param mainClassName the fully-qualified name of the application's main class
* @deprecated since 2.4
for removal in 2.6
in favor of {@link #getMainClass} and
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of {@link #getMainClass} and
* {@link Property#set(Object)}
* {@link Property#set(Object)}
*/
*/
@Deprecated
@Deprecated
...
@@ -133,8 +133,8 @@ public interface BootArchive extends Task {
...
@@ -133,8 +133,8 @@ public interface BootArchive extends Task {
* {@code false}.
* {@code false}.
* @return {@code true} if the Devtools jar should be excluded, or {@code false} if
* @return {@code true} if the Devtools jar should be excluded, or {@code false} if
* not
* not
* @deprecated since 2.3
for removal in 2.5 in favor of configuring a classpath that
* @deprecated since 2.3
.0 for removal in 2.5.0 in favor of configuring a classpath
* does not include development-only dependencies
*
that
does not include development-only dependencies
*/
*/
@Input
@Input
@Deprecated
@Deprecated
...
@@ -144,8 +144,8 @@ public interface BootArchive extends Task {
...
@@ -144,8 +144,8 @@ public interface BootArchive extends Task {
* Sets whether or not the Devtools jar should be excluded.
* Sets whether or not the Devtools jar should be excluded.
* @param excludeDevtools {@code true} if the Devtools jar should be excluded, or
* @param excludeDevtools {@code true} if the Devtools jar should be excluded, or
* {@code false} if not
* {@code false} if not
* @deprecated since 2.3
for removal in 2.5 in favor of configuring a classpath that
* @deprecated since 2.3
.0 for removal in 2.5.0 in favor of configuring a classpath
* does not include development-only dependencies
*
that
does not include development-only dependencies
*/
*/
@Deprecated
@Deprecated
void
setExcludeDevtools
(
boolean
excludeDevtools
);
void
setExcludeDevtools
(
boolean
excludeDevtools
);
...
...
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootJar.java
View file @
a28a3ae0
...
@@ -197,7 +197,7 @@ public class BootJar extends Jar implements BootArchive {
...
@@ -197,7 +197,7 @@ public class BootJar extends Jar implements BootArchive {
/**
/**
* Configures the jar to be layered using the default layering.
* Configures the jar to be layered using the default layering.
* @since 2.3.0
* @since 2.3.0
* @deprecated since 2.4
for removal in 2.6
as layering as now enabled by default.
* @deprecated since 2.4
.0 for removal in 2.6.0
as layering as now enabled by default.
*/
*/
@Deprecated
@Deprecated
public
void
layered
()
{
public
void
layered
()
{
...
...
spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layout.java
View file @
a28a3ae0
...
@@ -52,7 +52,8 @@ public interface Layout {
...
@@ -52,7 +52,8 @@ public interface Layout {
* @param scope the scope of the library
* @param scope the scope of the library
* @return the destination relative to the root of the archive (should end with '/')
* @return the destination relative to the root of the archive (should end with '/')
* or {@code null} if the library should not be included.
* or {@code null} if the library should not be included.
* @deprecated since 2.3 for removal in 2.5 in favor of {@link #getLibraryLocation}
* @deprecated since 2.3.0 for removal in 2.5.0 in favor of
* {@link #getLibraryLocation}
*/
*/
@Deprecated
@Deprecated
String
getLibraryDestination
(
String
libraryName
,
LibraryScope
scope
);
String
getLibraryDestination
(
String
libraryName
,
LibraryScope
scope
);
...
...
spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java
View file @
a28a3ae0
...
@@ -63,7 +63,7 @@ public abstract class Launcher {
...
@@ -63,7 +63,7 @@ public abstract class Launcher {
* @param archives the archives
* @param archives the archives
* @return the classloader
* @return the classloader
* @throws Exception if the classloader cannot be created
* @throws Exception if the classloader cannot be created
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #createClassLoader(Iterator)}
* {@link #createClassLoader(Iterator)}
*/
*/
@Deprecated
@Deprecated
...
@@ -140,7 +140,7 @@ public abstract class Launcher {
...
@@ -140,7 +140,7 @@ public abstract class Launcher {
* Returns the archives that will be used to construct the class path.
* Returns the archives that will be used to construct the class path.
* @return the class path archives
* @return the class path archives
* @throws Exception if the class path archives cannot be obtained
* @throws Exception if the class path archives cannot be obtained
* @deprecated since 2.3
for removal in 2.5
in favor of implementing
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of implementing
* {@link #getClassPathArchivesIterator()}.
* {@link #getClassPathArchivesIterator()}.
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java
View file @
a28a3ae0
...
@@ -75,7 +75,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
...
@@ -75,7 +75,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
* @param filter the filter used to limit entries
* @param filter the filter used to limit entries
* @return nested archives
* @return nested archives
* @throws IOException if nested archives cannot be read
* @throws IOException if nested archives cannot be read
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #getNestedArchives(EntryFilter, EntryFilter)}
* {@link #getNestedArchives(EntryFilter, EntryFilter)}
*/
*/
@Deprecated
@Deprecated
...
@@ -86,7 +86,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
...
@@ -86,7 +86,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
/**
/**
* Return a new iterator for the archive entries.
* Return a new iterator for the archive entries.
* @see java.lang.Iterable#iterator()
* @see java.lang.Iterable#iterator()
* @deprecated since 2.3
for removal in 2.5
in favor of using
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of using
* {@link org.springframework.boot.loader.jar.JarFile} to access entries and
* {@link org.springframework.boot.loader.jar.JarFile} to access entries and
* {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
* {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
*/
*/
...
@@ -98,7 +98,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
...
@@ -98,7 +98,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
* Performs the given action for each element of the {@code Iterable} until all
* Performs the given action for each element of the {@code Iterable} until all
* elements have been processed or the action throws an exception.
* elements have been processed or the action throws an exception.
* @see Iterable#forEach
* @see Iterable#forEach
* @deprecated since 2.3
for removal in 2.5
in favor of using
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of using
* {@link org.springframework.boot.loader.jar.JarFile} to access entries and
* {@link org.springframework.boot.loader.jar.JarFile} to access entries and
* {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
* {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
*/
*/
...
@@ -114,7 +114,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
...
@@ -114,7 +114,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
/**
/**
* Creates a {@link Spliterator} over the elements described by this {@code Iterable}.
* Creates a {@link Spliterator} over the elements described by this {@code Iterable}.
* @see Iterable#spliterator
* @see Iterable#spliterator
* @deprecated since 2.3
for removal in 2.5
in favor of using
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of using
* {@link org.springframework.boot.loader.jar.JarFile} to access entries and
* {@link org.springframework.boot.loader.jar.JarFile} to access entries and
* {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
* {@link #getNestedArchives(EntryFilter, EntryFilter)} for accessing nested archives.
*/
*/
...
...
spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractRunMojo.java
View file @
a28a3ae0
...
@@ -179,7 +179,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
...
@@ -179,7 +179,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
* Additional directories besides the classes directory that should be added to the
* Additional directories besides the classes directory that should be added to the
* classpath.
* classpath.
* @since 1.0.0
* @since 1.0.0
* @deprecated since 2.3
for removal in 2.5
in favor of {@code directories}
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of {@code directories}
*/
*/
@Deprecated
@Deprecated
@Parameter
(
property
=
"spring-boot.run.folders"
)
@Parameter
(
property
=
"spring-boot.run.folders"
)
...
...
spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ArtifactsLibraries.java
View file @
a28a3ae0
...
@@ -70,7 +70,7 @@ public class ArtifactsLibraries implements Libraries {
...
@@ -70,7 +70,7 @@ public class ArtifactsLibraries implements Libraries {
* @param artifacts the artifacts to represent as libraries
* @param artifacts the artifacts to represent as libraries
* @param unpacks artifacts that should be unpacked on launch
* @param unpacks artifacts that should be unpacked on launch
* @param log the log
* @param log the log
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #ArtifactsLibraries(Set, Collection, Collection, Log)}
* {@link #ArtifactsLibraries(Set, Collection, Collection, Log)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java
View file @
a28a3ae0
...
@@ -164,7 +164,7 @@ public class SpringApplication {
...
@@ -164,7 +164,7 @@ public class SpringApplication {
/**
/**
* The class name of application context that will be used by default for non-web
* The class name of application context that will be used by default for non-web
* environments.
* environments.
* @deprecated since 2.4
for removal in 2.6
in favor of using a
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of using a
* {@link ApplicationContextFactory}
* {@link ApplicationContextFactory}
*/
*/
@Deprecated
@Deprecated
...
@@ -174,7 +174,7 @@ public class SpringApplication {
...
@@ -174,7 +174,7 @@ public class SpringApplication {
/**
/**
* The class name of application context that will be used by default for web
* The class name of application context that will be used by default for web
* environments.
* environments.
* @deprecated since 2.4
for removal in 2.6
in favor of using an
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of using an
* {@link ApplicationContextFactory}
* {@link ApplicationContextFactory}
*/
*/
@Deprecated
@Deprecated
...
@@ -184,7 +184,7 @@ public class SpringApplication {
...
@@ -184,7 +184,7 @@ public class SpringApplication {
/**
/**
* The class name of application context that will be used by default for reactive web
* The class name of application context that will be used by default for reactive web
* environments.
* environments.
* @deprecated since 2.4
for removal in 2.6
in favor of using an
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of using an
* {@link ApplicationContextFactory}
* {@link ApplicationContextFactory}
*/
*/
@Deprecated
@Deprecated
...
@@ -765,7 +765,7 @@ public class SpringApplication {
...
@@ -765,7 +765,7 @@ public class SpringApplication {
/**
/**
* Refresh the underlying {@link ApplicationContext}.
* Refresh the underlying {@link ApplicationContext}.
* @param applicationContext the application context to refresh
* @param applicationContext the application context to refresh
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #refresh(ConfigurableApplicationContext)}
* {@link #refresh(ConfigurableApplicationContext)}
*/
*/
@Deprecated
@Deprecated
...
@@ -1221,7 +1221,7 @@ public class SpringApplication {
...
@@ -1221,7 +1221,7 @@ public class SpringApplication {
* applications or {@link AnnotationConfigApplicationContext} for non web based
* applications or {@link AnnotationConfigApplicationContext} for non web based
* applications.
* applications.
* @param applicationContextClass the context class to set
* @param applicationContextClass the context class to set
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #setApplicationContextFactory(ApplicationContextFactory)}
* {@link #setApplicationContextFactory(ApplicationContextFactory)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplicationRunListener.java
View file @
a28a3ae0
...
@@ -47,7 +47,7 @@ public interface SpringApplicationRunListener {
...
@@ -47,7 +47,7 @@ public interface SpringApplicationRunListener {
/**
/**
* Called immediately when the run method has first started. Can be used for very
* Called immediately when the run method has first started. Can be used for very
* early initialization.
* early initialization.
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #starting(ConfigurableBootstrapContext)}
* {@link #starting(ConfigurableBootstrapContext)}
*/
*/
@Deprecated
@Deprecated
...
@@ -69,7 +69,7 @@ public interface SpringApplicationRunListener {
...
@@ -69,7 +69,7 @@ public interface SpringApplicationRunListener {
* Called once the environment has been prepared, but before the
* Called once the environment has been prepared, but before the
* {@link ApplicationContext} has been created.
* {@link ApplicationContext} has been created.
* @param environment the environment
* @param environment the environment
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #environmentPrepared(ConfigurableBootstrapContext, ConfigurableEnvironment)}
* {@link #environmentPrepared(ConfigurableBootstrapContext, ConfigurableEnvironment)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java
View file @
a28a3ae0
...
@@ -276,7 +276,7 @@ public class SpringApplicationBuilder {
...
@@ -276,7 +276,7 @@ public class SpringApplicationBuilder {
* Explicitly set the context class to be used.
* Explicitly set the context class to be used.
* @param cls the context class to use
* @param cls the context class to use
* @return the current builder
* @return the current builder
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #contextFactory(ApplicationContextFactory)}
* {@link #contextFactory(ApplicationContextFactory)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.java
View file @
a28a3ae0
...
@@ -107,7 +107,7 @@ public class CloudFoundryVcapEnvironmentPostProcessor
...
@@ -107,7 +107,7 @@ public class CloudFoundryVcapEnvironmentPostProcessor
/**
/**
* Create a new {@link CloudFoundryVcapEnvironmentPostProcessor} instance.
* Create a new {@link CloudFoundryVcapEnvironmentPostProcessor} instance.
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #CloudFoundryVcapEnvironmentPostProcessor(Log)}
* {@link #CloudFoundryVcapEnvironmentPostProcessor(Log)}
*/
*/
@Deprecated
@Deprecated
...
@@ -154,7 +154,7 @@ public class CloudFoundryVcapEnvironmentPostProcessor
...
@@ -154,7 +154,7 @@ public class CloudFoundryVcapEnvironmentPostProcessor
/**
/**
* Event listener used to switch logging.
* Event listener used to switch logging.
* @deprecated since 2.4
for removal in 2.6
in favor of only using
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of only using
* {@link EnvironmentPostProcessor} callbacks
* {@link EnvironmentPostProcessor} callbacks
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java
View file @
a28a3ae0
...
@@ -112,7 +112,7 @@ import org.springframework.util.StringUtils;
...
@@ -112,7 +112,7 @@ import org.springframework.util.StringUtils;
* @author Madhura Bhave
* @author Madhura Bhave
* @author Scott Frederick
* @author Scott Frederick
* @since 1.0.0
* @since 1.0.0
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link ConfigDataEnvironmentPostProcessor}
* {@link ConfigDataEnvironmentPostProcessor}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/FilteredPropertySource.java
View file @
a28a3ae0
...
@@ -28,7 +28,7 @@ import org.springframework.core.env.PropertySource;
...
@@ -28,7 +28,7 @@ import org.springframework.core.env.PropertySource;
* {@link ConfigFileApplicationListener} to filter out properties for specific operations.
* {@link ConfigFileApplicationListener} to filter out properties for specific operations.
*
*
* @author Phillip Webb
* @author Phillip Webb
* @deprecated since 2.4
for removal in 2.6
along with
* @deprecated since 2.4
.0 for removal in 2.6.0
along with
* {@link ConfigFileApplicationListener}
* {@link ConfigFileApplicationListener}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationEnvironmentPreparedEvent.java
View file @
a28a3ae0
...
@@ -40,7 +40,7 @@ public class ApplicationEnvironmentPreparedEvent extends SpringApplicationEvent
...
@@ -40,7 +40,7 @@ public class ApplicationEnvironmentPreparedEvent extends SpringApplicationEvent
* @param application the current application
* @param application the current application
* @param args the arguments the application is running with
* @param args the arguments the application is running with
* @param environment the environment that was just created
* @param environment the environment that was just created
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #ApplicationEnvironmentPreparedEvent(ConfigurableBootstrapContext, SpringApplication, String[], ConfigurableEnvironment)}
* {@link #ApplicationEnvironmentPreparedEvent(ConfigurableBootstrapContext, SpringApplication, String[], ConfigurableEnvironment)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationStartingEvent.java
View file @
a28a3ae0
...
@@ -42,7 +42,7 @@ public class ApplicationStartingEvent extends SpringApplicationEvent {
...
@@ -42,7 +42,7 @@ public class ApplicationStartingEvent extends SpringApplicationEvent {
* Create a new {@link ApplicationStartingEvent} instance.
* Create a new {@link ApplicationStartingEvent} instance.
* @param application the current application
* @param application the current application
* @param args the arguments the application is running with
* @param args the arguments the application is running with
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #ApplicationStartingEvent(ConfigurableBootstrapContext, SpringApplication, String[])}
* {@link #ApplicationStartingEvent(ConfigurableBootstrapContext, SpringApplication, String[])}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/logging/ClasspathLoggingApplicationListener.java
View file @
a28a3ae0
...
@@ -38,7 +38,7 @@ import org.springframework.core.ResolvableType;
...
@@ -38,7 +38,7 @@ import org.springframework.core.ResolvableType;
*
*
* @author Andy Wilkinson
* @author Andy Wilkinson
* @since 2.0.0
* @since 2.0.0
* @deprecated since 2.4
for removal in 2.6
with no direct replacement.
* @deprecated since 2.4
.0 for removal in 2.6.0
with no direct replacement.
* {@link FailureAnalysis} is now the preferred approach for diagnosing and reporting
* {@link FailureAnalysis} is now the preferred approach for diagnosing and reporting
* startup failures.
* startup failures.
*/
*/
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/EmbeddedDatabaseConnection.java
View file @
a28a3ae0
...
@@ -63,7 +63,7 @@ public enum EmbeddedDatabaseConnection {
...
@@ -63,7 +63,7 @@ public enum EmbeddedDatabaseConnection {
/**
/**
* HSQL Database Connection.
* HSQL Database Connection.
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link EmbeddedDatabaseConnection#HSQLDB}.
* {@link EmbeddedDatabaseConnection#HSQLDB}.
*/
*/
@Deprecated
@Deprecated
...
@@ -141,7 +141,7 @@ public enum EmbeddedDatabaseConnection {
...
@@ -141,7 +141,7 @@ public enum EmbeddedDatabaseConnection {
* database type.
* database type.
* @param driverClass the driver class
* @param driverClass the driver class
* @return true if the driver class is one of the embedded types
* @return true if the driver class is one of the embedded types
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link #isEmbedded(String, String)}
* {@link #isEmbedded(String, String)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jta/bitronix/BitronixDependentBeanFactoryPostProcessor.java
View file @
a28a3ae0
...
@@ -32,7 +32,7 @@ import org.springframework.core.Ordered;
...
@@ -32,7 +32,7 @@ import org.springframework.core.Ordered;
*
*
* @author Phillip Webb
* @author Phillip Webb
* @since 1.2.0
* @since 1.2.0
* @deprecated since 2.3
for removal in 2.5
as the Bitronix project is no longer being
* @deprecated since 2.3
.0 for removal in 2.5.0
as the Bitronix project is no longer being
* maintained
* maintained
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jta/bitronix/BitronixXAConnectionFactoryWrapper.java
View file @
a28a3ae0
...
@@ -27,7 +27,7 @@ import org.springframework.boot.jms.XAConnectionFactoryWrapper;
...
@@ -27,7 +27,7 @@ import org.springframework.boot.jms.XAConnectionFactoryWrapper;
*
*
* @author Phillip Webb
* @author Phillip Webb
* @since 1.2.0
* @since 1.2.0
* @deprecated since 2.3
for removal in 2.5
as the Bitronix project is no longer being
* @deprecated since 2.3
.0 for removal in 2.5.0
as the Bitronix project is no longer being
* maintained
* maintained
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jta/bitronix/BitronixXADataSourceWrapper.java
View file @
a28a3ae0
...
@@ -26,7 +26,7 @@ import org.springframework.boot.jdbc.XADataSourceWrapper;
...
@@ -26,7 +26,7 @@ import org.springframework.boot.jdbc.XADataSourceWrapper;
*
*
* @author Phillip Webb
* @author Phillip Webb
* @since 1.2.0
* @since 1.2.0
* @deprecated since 2.3
for removal in 2.5
as the Bitronix project is no longer being
* @deprecated since 2.3
.0 for removal in 2.5.0
as the Bitronix project is no longer being
* maintained
* maintained
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jta/bitronix/PoolingConnectionFactoryBean.java
View file @
a28a3ae0
...
@@ -41,7 +41,7 @@ import org.springframework.util.StringUtils;
...
@@ -41,7 +41,7 @@ import org.springframework.util.StringUtils;
* @author Josh Long
* @author Josh Long
* @author Andy Wilkinson
* @author Andy Wilkinson
* @since 1.2.0
* @since 1.2.0
* @deprecated since 2.3
for removal in 2.5
as the Bitronix project is no longer being
* @deprecated since 2.3
.0 for removal in 2.5.0
as the Bitronix project is no longer being
* maintained
* maintained
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jta/bitronix/PoolingDataSourceBean.java
View file @
a28a3ae0
...
@@ -42,7 +42,7 @@ import org.springframework.util.StringUtils;
...
@@ -42,7 +42,7 @@ import org.springframework.util.StringUtils;
* @author Josh Long
* @author Josh Long
* @author Andy Wilkinson
* @author Andy Wilkinson
* @since 1.2.0
* @since 1.2.0
* @deprecated since 2.3
for removal in 2.5
as the Bitronix project is no longer being
* @deprecated since 2.3
.0 for removal in 2.5.0
as the Bitronix project is no longer being
* maintained
* maintained
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jta/bitronix/package-info.java
View file @
a28a3ae0
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
/**
/**
* Support classes for Bitronix JTA.
* Support classes for Bitronix JTA.
* @deprecated since 2.3
for removal in 2.5
as the Bitronix project is no longer being
* @deprecated since 2.3
.0 for removal in 2.5.0
as the Bitronix project is no longer being
* maintained
* maintained
*/
*/
package
org
.
springframework
.
boot
.
jta
.
bitronix
;
package
org
.
springframework
.
boot
.
jta
.
bitronix
;
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystemProperties.java
View file @
a28a3ae0
...
@@ -83,7 +83,7 @@ public class LoggingSystemProperties {
...
@@ -83,7 +83,7 @@ public class LoggingSystemProperties {
/**
/**
* The name of the System property that contains the rolled-over log file name
* The name of the System property that contains the rolled-over log file name
* pattern.
* pattern.
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_FILE_NAME_PATTERN}
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_FILE_NAME_PATTERN}
*/
*/
@Deprecated
@Deprecated
...
@@ -91,7 +91,7 @@ public class LoggingSystemProperties {
...
@@ -91,7 +91,7 @@ public class LoggingSystemProperties {
/**
/**
* The name of the System property that contains the clean history on start flag.
* The name of the System property that contains the clean history on start flag.
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_CLEAN_HISTORY_ON_START}
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_CLEAN_HISTORY_ON_START}
*/
*/
@Deprecated
@Deprecated
...
@@ -99,7 +99,7 @@ public class LoggingSystemProperties {
...
@@ -99,7 +99,7 @@ public class LoggingSystemProperties {
/**
/**
* The name of the System property that contains the file log max size.
* The name of the System property that contains the file log max size.
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_MAX_FILE_SIZE}
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_MAX_FILE_SIZE}
*/
*/
@Deprecated
@Deprecated
...
@@ -107,7 +107,7 @@ public class LoggingSystemProperties {
...
@@ -107,7 +107,7 @@ public class LoggingSystemProperties {
/**
/**
* The name of the System property that contains the file total size cap.
* The name of the System property that contains the file total size cap.
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_TOTAL_SIZE_CAP}
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_TOTAL_SIZE_CAP}
*/
*/
@Deprecated
@Deprecated
...
@@ -115,7 +115,7 @@ public class LoggingSystemProperties {
...
@@ -115,7 +115,7 @@ public class LoggingSystemProperties {
/**
/**
* The name of the System property that contains the file log max history.
* The name of the System property that contains the file log max history.
* @deprecated since 2.4
for removal in 2.6
in favor of
* @deprecated since 2.4
.0 for removal in 2.6.0
in favor of
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_MAX_HISTORY}
* {@link org.springframework.boot.logging.logback.LogbackLoggingSystemProperties#ROLLINGPOLICY_MAX_HISTORY}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServer.java
View file @
a28a3ae0
...
@@ -51,7 +51,7 @@ public class UndertowServletWebServer extends UndertowWebServer {
...
@@ -51,7 +51,7 @@ public class UndertowServletWebServer extends UndertowWebServer {
* @param contextPath the root context path
* @param contextPath the root context path
* @param autoStart if the server should be started
* @param autoStart if the server should be started
* @param compression compression configuration
* @param compression compression configuration
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #UndertowServletWebServer(io.undertow.Undertow.Builder, Iterable, String, boolean)}
* {@link #UndertowServletWebServer(io.undertow.Undertow.Builder, Iterable, String, boolean)}
*/
*/
@Deprecated
@Deprecated
...
@@ -68,7 +68,7 @@ public class UndertowServletWebServer extends UndertowWebServer {
...
@@ -68,7 +68,7 @@ public class UndertowServletWebServer extends UndertowWebServer {
* @param useForwardHeaders if x-forward headers should be used
* @param useForwardHeaders if x-forward headers should be used
* @param autoStart if the server should be started
* @param autoStart if the server should be started
* @param compression compression configuration
* @param compression compression configuration
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #UndertowServletWebServer(io.undertow.Undertow.Builder, Iterable, String, boolean)}
* {@link #UndertowServletWebServer(io.undertow.Undertow.Builder, Iterable, String, boolean)}
*/
*/
@Deprecated
@Deprecated
...
@@ -86,7 +86,7 @@ public class UndertowServletWebServer extends UndertowWebServer {
...
@@ -86,7 +86,7 @@ public class UndertowServletWebServer extends UndertowWebServer {
* @param autoStart if the server should be started
* @param autoStart if the server should be started
* @param compression compression configuration
* @param compression compression configuration
* @param serverHeader string to be used in HTTP header
* @param serverHeader string to be used in HTTP header
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #UndertowServletWebServer(io.undertow.Undertow.Builder, Iterable, String, boolean)}
* {@link #UndertowServletWebServer(io.undertow.Undertow.Builder, Iterable, String, boolean)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactory.java
View file @
a28a3ae0
...
@@ -250,7 +250,8 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac
...
@@ -250,7 +250,8 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac
* Return if filters should be initialized eagerly.
* Return if filters should be initialized eagerly.
* @return {@code true} if filters are initialized eagerly, otherwise {@code false}.
* @return {@code true} if filters are initialized eagerly, otherwise {@code false}.
* @since 2.0.0
* @since 2.0.0
* @deprecated since 2.4 for removal in 2.6 in favor of {@link #isEagerFilterInit()}
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #isEagerFilterInit()}
*/
*/
@Deprecated
@Deprecated
public
boolean
isEagerInitFilters
()
{
public
boolean
isEagerInitFilters
()
{
...
@@ -262,7 +263,8 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac
...
@@ -262,7 +263,8 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac
* @param eagerInitFilters {@code true} if filters are initialized eagerly, otherwise
* @param eagerInitFilters {@code true} if filters are initialized eagerly, otherwise
* {@code false}.
* {@code false}.
* @since 2.0.0
* @since 2.0.0
* @deprecated since 2.4 for removal in 2.6 in favor of {@link #isEagerFilterInit()}
* @deprecated since 2.4.0 for removal in 2.6.0 in favor of
* {@link #isEagerFilterInit()}
*/
*/
@Deprecated
@Deprecated
public
void
setEagerInitFilters
(
boolean
eagerInitFilters
)
{
public
void
setEagerInitFilters
(
boolean
eagerInitFilters
)
{
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowWebServer.java
View file @
a28a3ae0
...
@@ -92,7 +92,7 @@ public class UndertowWebServer implements WebServer {
...
@@ -92,7 +92,7 @@ public class UndertowWebServer implements WebServer {
* @param autoStart if the server should be started
* @param autoStart if the server should be started
* @param closeable called when the server is stopped
* @param closeable called when the server is stopped
* @since 2.0.4
* @since 2.0.4
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #UndertowWebServer(io.undertow.Undertow.Builder, Iterable, boolean)}
* {@link #UndertowWebServer(io.undertow.Undertow.Builder, Iterable, boolean)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/error/DefaultErrorAttributes.java
View file @
a28a3ae0
...
@@ -75,7 +75,7 @@ public class DefaultErrorAttributes implements ErrorAttributes {
...
@@ -75,7 +75,7 @@ public class DefaultErrorAttributes implements ErrorAttributes {
/**
/**
* Create a new {@link DefaultErrorAttributes} instance.
* Create a new {@link DefaultErrorAttributes} instance.
* @param includeException whether to include the "exception" attribute
* @param includeException whether to include the "exception" attribute
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link ErrorAttributeOptions#including(Include...)}
* {@link ErrorAttributeOptions#including(Include...)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/error/ErrorAttributes.java
View file @
a28a3ae0
...
@@ -41,7 +41,7 @@ public interface ErrorAttributes {
...
@@ -41,7 +41,7 @@ public interface ErrorAttributes {
* @param request the source request
* @param request the source request
* @param includeStackTrace if stack trace attribute should be included
* @param includeStackTrace if stack trace attribute should be included
* @return a map of error attributes
* @return a map of error attributes
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #getErrorAttributes(ServerRequest, ErrorAttributeOptions)}
* {@link #getErrorAttributes(ServerRequest, ErrorAttributeOptions)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/error/DefaultErrorAttributes.java
View file @
a28a3ae0
...
@@ -82,7 +82,7 @@ public class DefaultErrorAttributes implements ErrorAttributes, HandlerException
...
@@ -82,7 +82,7 @@ public class DefaultErrorAttributes implements ErrorAttributes, HandlerException
/**
/**
* Create a new {@link DefaultErrorAttributes} instance.
* Create a new {@link DefaultErrorAttributes} instance.
* @param includeException whether to include the "exception" attribute
* @param includeException whether to include the "exception" attribute
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link ErrorAttributeOptions#including(Include...)}
* {@link ErrorAttributeOptions#including(Include...)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/error/ErrorAttributes.java
View file @
a28a3ae0
...
@@ -42,7 +42,7 @@ public interface ErrorAttributes {
...
@@ -42,7 +42,7 @@ public interface ErrorAttributes {
* @param webRequest the source request
* @param webRequest the source request
* @param includeStackTrace if stack trace element should be included
* @param includeStackTrace if stack trace element should be included
* @return a map of error attributes
* @return a map of error attributes
* @deprecated since 2.3
for removal in 2.5
in favor of
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of
* {@link #getErrorAttributes(WebRequest, ErrorAttributeOptions)}
* {@link #getErrorAttributes(WebRequest, ErrorAttributeOptions)}
*/
*/
@Deprecated
@Deprecated
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/error/ErrorController.java
View file @
a28a3ae0
...
@@ -33,7 +33,7 @@ public interface ErrorController {
...
@@ -33,7 +33,7 @@ public interface ErrorController {
* The return value from this method is not used; the property `server.error.path`
* The return value from this method is not used; the property `server.error.path`
* must be set to override the default error page path.
* must be set to override the default error page path.
* @return the error path
* @return the error path
* @deprecated since 2.3
for removal in 2.5
in favor of setting the property
* @deprecated since 2.3
.0 for removal in 2.5.0
in favor of setting the property
* `server.error.path`
* `server.error.path`
*/
*/
@Deprecated
@Deprecated
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment