Update deprecations with for removal targets

Update all deprecation tags to include a removal target.

Closes gh-25808
This commit is contained in:
Phillip Webb 2021-03-29 14:24:55 -07:00
parent 896f20e1d3
commit 26dd1b9a26
57 changed files with 150 additions and 124 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -30,7 +30,8 @@ import org.springframework.core.env.Environment;
* @param <E> the endpoint type * @param <E> the endpoint type
* @author Phillip Webb * @author Phillip Webb
* @since 2.0.0 * @since 2.0.0
* @deprecated since 2.2.7 in favor of {@link IncludeExcludeEndpointFilter} * @deprecated since 2.2.7 for removal in 2.4 in favor of
* {@link IncludeExcludeEndpointFilter}
*/ */
@Deprecated @Deprecated
public class ExposeExcludePropertyEndpointFilter<E extends ExposableEndpoint<?>> public class ExposeExcludePropertyEndpointFilter<E extends ExposableEndpoint<?>>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -34,7 +34,8 @@ import org.springframework.core.ResolvableType;
* @param <S> the bean source type * @param <S> the bean source type
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 2.0.0 * @since 2.0.0
* @deprecated since 2.2.0 in favor of {@link CompositeHealthContributorConfiguration} * @deprecated since 2.2 for removal in 2.4 in favor of
* {@link CompositeHealthContributorConfiguration}
*/ */
@Deprecated @Deprecated
public abstract class CompositeHealthIndicatorConfiguration<H extends HealthIndicator, S> { public abstract class CompositeHealthIndicatorConfiguration<H extends HealthIndicator, S> {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -33,7 +33,7 @@ import org.springframework.core.ResolvableType;
* @param <S> the bean source type * @param <S> the bean source type
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 2.0.0 * @since 2.0.0
* @deprecated since 2.2.0 in favor of * @deprecated since 2.2 for removal in 2.4 in favor of
* {@link CompositeReactiveHealthContributorConfiguration} * {@link CompositeReactiveHealthContributorConfiguration}
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -29,7 +29,8 @@ import org.springframework.context.annotation.Configuration;
* @author Phillip Webb * @author Phillip Webb
* @author Vedran Pavic * @author Vedran Pavic
* @since 2.0.0 * @since 2.0.0
* @deprecated since 2.2.0 in favor of {@link HealthContributorAutoConfiguration} * @deprecated since 2.2 for removal in 2.4 in favor of
* {@link HealthContributorAutoConfiguration}
*/ */
@Deprecated @Deprecated
@Configuration(proxyBeanMethods = false) @Configuration(proxyBeanMethods = false)

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -29,7 +29,7 @@ import org.springframework.boot.context.properties.DeprecatedConfigurationProper
* *
* @author Christian Dupuis * @author Christian Dupuis
* @since 2.0.0 * @since 2.0.0
* @deprecated since 2.2.0 in favor of {@link HealthEndpointProperties} * @deprecated since 2.2 for removal in 2.4 in favor of {@link HealthEndpointProperties}
*/ */
@Deprecated @Deprecated
@ConfigurationProperties(prefix = "management.health.status") @ConfigurationProperties(prefix = "management.health.status")

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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 as of 2.3.0 in favor of {@link #valueOf(double)} * @deprecated since 2.3 for removal in 2.5 in favor of {@link #valueOf(double)}
*/ */
@Deprecated @Deprecated
public static MeterValue valueOf(long value) { public static MeterValue valueOf(long value) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -27,7 +27,8 @@ import io.micrometer.core.instrument.Meter;
* *
* @author Phillip Webb * @author Phillip Webb
* @since 2.0.0 * @since 2.0.0
* @deprecated as of 2.3.0 in favor of {@link ServiceLevelObjectiveBoundary} * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link ServiceLevelObjectiveBoundary}
*/ */
@Deprecated @Deprecated
public final class ServiceLevelAgreementBoundary { public final class ServiceLevelAgreementBoundary {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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 as of 2.3.0 to make it package-private in 2.4 * @deprecated as of 2.3 to make package-private in 2.4
*/ */
@Deprecated @Deprecated
public static OperationInvoker apply(OperationInvoker invoker, long timeToLive) { public static OperationInvoker apply(OperationInvoker invoker, long timeToLive) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -28,7 +28,8 @@ import java.util.stream.Collectors;
* @author Christian Dupuis * @author Christian Dupuis
* @author Vedran Pavic * @author Vedran Pavic
* @since 1.1.0 * @since 1.1.0
* @deprecated since 2.2.0 as {@link HealthAggregator} has been deprecated * @deprecated since 2.2 for removal in 2.4 as {@link HealthAggregator} has been
* deprecated
*/ */
@Deprecated @Deprecated
public abstract class AbstractHealthAggregator implements HealthAggregator { public abstract class AbstractHealthAggregator implements HealthAggregator {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -26,7 +26,8 @@ import java.util.Map;
* @author Phillip Webb * @author Phillip Webb
* @author Christian Dupuis * @author Christian Dupuis
* @since 1.1.0 * @since 1.1.0
* @deprecated since 2.2.0 in favor of a {@link CompositeHealthContributor} * @deprecated since 2.2 for removal in 2.4 in favor of a
* {@link CompositeHealthContributor}
*/ */
@Deprecated @Deprecated
public class CompositeHealthIndicator implements HealthIndicator { public class CompositeHealthIndicator implements HealthIndicator {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -30,7 +30,8 @@ import reactor.util.function.Tuple2;
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 2.0.0 * @since 2.0.0
* @deprecated since 2.2.0 in favor of a {@link CompositeReactiveHealthContributor} * @deprecated since 2.2 for removal in 2.4 in favor of a
* {@link CompositeReactiveHealthContributor}
*/ */
@Deprecated @Deprecated
public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator { public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -28,7 +28,7 @@ import org.springframework.util.Assert;
* @author Vedran Pavic * @author Vedran Pavic
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 2.1.0 * @since 2.1.0
* @deprecated since 2.2.0 in favor of {@link DefaultContributorRegistry} * @deprecated since 2.2 for removal in 2.4 in favor of {@link DefaultContributorRegistry}
*/ */
@Deprecated @Deprecated
public class DefaultHealthIndicatorRegistry implements HealthIndicatorRegistry { public class DefaultHealthIndicatorRegistry implements HealthIndicatorRegistry {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -28,7 +28,7 @@ import org.springframework.util.Assert;
* @author Vedran Pavic * @author Vedran Pavic
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 2.1.0 * @since 2.1.0
* @deprecated since 2.2.0 in favor of {@link DefaultContributorRegistry} * @deprecated since 2.2 for removal in 2.4 in favor of {@link DefaultContributorRegistry}
*/ */
@Deprecated @Deprecated
public class DefaultReactiveHealthIndicatorRegistry implements ReactiveHealthIndicatorRegistry { public class DefaultReactiveHealthIndicatorRegistry implements ReactiveHealthIndicatorRegistry {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -32,7 +32,7 @@ import java.util.Map;
* *
* @author Christian Dupuis * @author Christian Dupuis
* @since 1.1.0 * @since 1.1.0
* @deprecated since 2.2.0 in favor of {@link StatusAggregator} * @deprecated since 2.2 for removal in 2.4 in favor of {@link StatusAggregator}
*/ */
@FunctionalInterface @FunctionalInterface
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -22,7 +22,8 @@ package org.springframework.boot.actuate.health;
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Phillip Webb * @author Phillip Webb
* @since 2.0.0 * @since 2.0.0
* @deprecated since 2.2.0 in favor of {@link HealthContributorNameFactory} * @deprecated since 2.2 for removal in 2.4 in favor of
* {@link HealthContributorNameFactory}
*/ */
@Deprecated @Deprecated
public class HealthIndicatorNameFactory extends HealthContributorNameFactory { public class HealthIndicatorNameFactory extends HealthContributorNameFactory {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -27,7 +27,7 @@ import org.springframework.util.Assert;
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 2.0.0 * @since 2.0.0
* @deprecated since 2.2.0 in favor of * @deprecated since 2.2 for removal in 2.4 in favor of
* {@link ReactiveHealthContributor#adapt(HealthContributor)} * {@link ReactiveHealthContributor#adapt(HealthContributor)}
* @see ReactiveHealthContributor#adapt(HealthContributor) * @see ReactiveHealthContributor#adapt(HealthContributor)
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -28,7 +28,8 @@ import java.util.Map;
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 2.1.0 * @since 2.1.0
* @see HealthEndpoint * @see HealthEndpoint
* @deprecated since 2.2.0 in favor of a {@link HealthContributorRegistry} * @deprecated since 2.2 for removal in 2.4 in favor of a
* {@link HealthContributorRegistry}
*/ */
@Deprecated @Deprecated
public interface HealthIndicatorRegistry { public interface HealthIndicatorRegistry {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -26,7 +26,8 @@ import org.springframework.util.Assert;
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 2.1.0 * @since 2.1.0
* @deprecated since 2.2.0 in favor of {@link DefaultHealthIndicatorRegistry} * @deprecated since 2.2 for removal in 2.4 in favor of
* {@link DefaultHealthIndicatorRegistry}
*/ */
@Deprecated @Deprecated
public class HealthIndicatorRegistryFactory { public class HealthIndicatorRegistryFactory {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -32,7 +32,7 @@ import org.springframework.util.Assert;
* *
* @author Christian Dupuis * @author Christian Dupuis
* @since 1.1.0 * @since 1.1.0
* @deprecated since 2.2.0 in favor of {@link SimpleStatusAggregator} * @deprecated since 2.2 for removal in 2.4 in favor of {@link SimpleStatusAggregator}
*/ */
@Deprecated @Deprecated
public class OrderedHealthAggregator extends AbstractHealthAggregator { public class OrderedHealthAggregator extends AbstractHealthAggregator {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -28,7 +28,8 @@ import java.util.Map;
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 2.1.0 * @since 2.1.0
* @see HealthIndicatorRegistry * @see HealthIndicatorRegistry
* @deprecated since 2.2.0 in favor of a {@link ReactiveHealthContributorRegistry} * @deprecated since 2.2 for removal in 2.4 in favor of a
* {@link ReactiveHealthContributorRegistry}
*/ */
@Deprecated @Deprecated
public interface ReactiveHealthIndicatorRegistry { public interface ReactiveHealthIndicatorRegistry {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -28,7 +28,8 @@ import org.springframework.util.ObjectUtils;
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 2.1.0 * @since 2.1.0
* @deprecated since 2.2.0 in favor of {@link DefaultReactiveHealthIndicatorRegistry} * @deprecated since 2.2 for removal in 2.4 in favor of
* {@link DefaultReactiveHealthIndicatorRegistry}
*/ */
@Deprecated @Deprecated
public class ReactiveHealthIndicatorRegistryFactory { public class ReactiveHealthIndicatorRegistryFactory {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -99,7 +99,8 @@ 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.0 in favor of {@link #status(ClientResponse, Throwable)} * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #status(ClientResponse, Throwable)}
*/ */
@Deprecated @Deprecated
public static Tag status(ClientResponse response) { public static Tag status(ClientResponse response) {
@ -111,7 +112,8 @@ 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.0 in favor of {@link #status(ClientResponse, Throwable)} * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #status(ClientResponse, Throwable)}
*/ */
@Deprecated @Deprecated
public static Tag status(Throwable throwable) { public static Tag status(Throwable throwable) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -30,7 +30,8 @@ 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.0 in favor of {@link JobLauncherApplicationRunner} * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link JobLauncherApplicationRunner}
*/ */
@Deprecated @Deprecated
public class JobLauncherCommandLineRunner extends JobLauncherApplicationRunner { public class JobLauncherCommandLineRunner extends JobLauncherApplicationRunner {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -40,8 +40,8 @@ import org.springframework.util.ObjectUtils;
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 1.4.0 * @since 1.4.0
* @deprecated since 2.3.3 as this class is not intended for public use. It will be made * @deprecated since 2.3.3 to be made package-private in 2.5 as this class is not intended
* package-private in a future release * for public use.
*/ */
@Configuration(proxyBeanMethods = false) @Configuration(proxyBeanMethods = false)
@ConditionalOnClass({ Cluster.class, CouchbaseClientFactory.class, CouchbaseCacheManager.class }) @ConditionalOnClass({ Cluster.class, CouchbaseClientFactory.class, CouchbaseCacheManager.class })

View File

@ -40,7 +40,7 @@ import org.springframework.data.solr.repository.support.SolrRepositoryFactoryBea
* *
* @author Christoph Strobl * @author Christoph Strobl
* @author Oliver Gierke * @author Oliver Gierke
* @deprecated since 2.3.9 as Spring Data Solr is deprecated * @deprecated since 2.3.9 for removal in 2.5 as Spring Data Solr is deprecated
* @since 1.1.0 * @since 1.1.0
*/ */
@Configuration(proxyBeanMethods = false) @Configuration(proxyBeanMethods = false)

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -25,7 +25,7 @@ import org.elasticsearch.client.RestClientBuilder;
* *
* @author Brian Clozel * @author Brian Clozel
* @since 2.1.0 * @since 2.1.0
* @deprecated as of 2.3.1 in favor of * @deprecated as of 2.3.1 for removal in 2.5 in favor of
* {@link org.springframework.boot.autoconfigure.elasticsearch.RestClientBuilderCustomizer} * {@link org.springframework.boot.autoconfigure.elasticsearch.RestClientBuilderCustomizer}
*/ */
@FunctionalInterface @FunctionalInterface

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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.0 in favor of * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #MongoClientFactory(MongoProperties, Environment, List)} * {@link #MongoClientFactory(MongoProperties, Environment, List)}
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -51,7 +51,8 @@ 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.0 as the Bitronix project is no longer being maintained * @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* maintained
*/ */
@Deprecated @Deprecated
@Configuration(proxyBeanMethods = false) @Configuration(proxyBeanMethods = false)

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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.0 in favor of * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #WebConversionService(DateTimeFormatters)} * {@link #WebConversionService(DateTimeFormatters)}
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -135,7 +135,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.0 in favor of * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #getErrorAttributes(ServerRequest, ErrorAttributeOptions)} * {@link #getErrorAttributes(ServerRequest, ErrorAttributeOptions)}
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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.0 in favor of * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #getErrorAttributes(HttpServletRequest, ErrorAttributeOptions)} * {@link #getErrorAttributes(HttpServletRequest, ErrorAttributeOptions)}
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -143,7 +143,7 @@ public class SpringBootContextLoader extends AbstractContextLoader {
* empty array. * empty array.
* @param config the source context configuration * @param config the source context configuration
* @return the application arguments to use * @return the application arguments to use
* @deprecated since 2.2.7 * @deprecated since 2.2.7 for removal in 2.4
* @see SpringApplication#run(String...) * @see SpringApplication#run(String...)
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -118,8 +118,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.0 in favour of configuring a classpath that does not include * @deprecated since 2.3 for removal in 2.5 in favor of configuring a classpath that
* development-only dependencies * does not include development-only dependencies
*/ */
@Input @Input
@Deprecated @Deprecated
@ -129,8 +129,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.0 in favour of configuring a classpath that does not include * @deprecated since 2.3 for removal in 2.5 in favor of configuring a classpath that
* development-only dependencies * does not include development-only dependencies
*/ */
@Deprecated @Deprecated
void setExcludeDevtools(boolean excludeDevtools); void setExcludeDevtools(boolean excludeDevtools);

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -122,7 +122,8 @@ public class BootJar extends Jar implements BootArchive {
* Returns the {@link Configuration Configurations} of the project associated with * Returns the {@link Configuration Configurations} of the project associated with
* this task. * this task.
* @return the configurations * @return the configurations
* @deprecated since 2.3.5 in favor of {@link Project#getConfigurations} * @deprecated since 2.3.5 for removal in 2.5 in favor of
* {@link Project#getConfigurations}
*/ */
@Internal @Internal
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -52,7 +52,7 @@ 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.0 in favor of {@link #getLibraryLocation} * @deprecated since 2.3 for removal in 2.5 in favor of {@link #getLibraryLocation}
*/ */
@Deprecated @Deprecated
String getLibraryDestination(String libraryName, LibraryScope scope); String getLibraryDestination(String libraryName, LibraryScope scope);

View File

@ -100,7 +100,7 @@ public abstract class Packager {
* Create a new {@link Packager} instance. * Create a new {@link Packager} instance.
* @param source the source archive file to package * @param source the source archive file to package
* @param layoutFactory the layout factory to use or {@code null} * @param layoutFactory the layout factory to use or {@code null}
* @deprecated since 2.5.0 in favor of {@link #Packager(File)} and * @deprecated since 2.3.10 for removal in 2.5 in favor of {@link #Packager(File)} and
* {@link #setLayoutFactory(LayoutFactory)} * {@link #setLayoutFactory(LayoutFactory)}
*/ */
@Deprecated @Deprecated

View File

@ -51,8 +51,8 @@ public class Repackager extends Packager {
* Create a new {@link Repackager} instance. * Create a new {@link Repackager} instance.
* @param source the source archive file to package * @param source the source archive file to package
* @param layoutFactory the layout factory to use or {@code null} * @param layoutFactory the layout factory to use or {@code null}
* @deprecated since 2.5.0 in favor of {@link #Repackager(File)} and * @deprecated since 2.3.10 for removal in 2.5 in favor of {@link #Repackager(File)}
* {@link #setLayoutFactory(LayoutFactory)} * and {@link #setLayoutFactory(LayoutFactory)}
*/ */
@Deprecated @Deprecated
public Repackager(File source, LayoutFactory layoutFactory) { public Repackager(File source, LayoutFactory layoutFactory) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -63,7 +63,8 @@ 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.0 in favor of {@link #createClassLoader(Iterator)} * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #createClassLoader(Iterator)}
*/ */
@Deprecated @Deprecated
protected ClassLoader createClassLoader(List<Archive> archives) throws Exception { protected ClassLoader createClassLoader(List<Archive> archives) throws Exception {
@ -139,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.0 in favor of implementing * @deprecated since 2.3 for removal in 2.5 in favor of implementing
* {@link #getClassPathArchivesIterator()}. * {@link #getClassPathArchivesIterator()}.
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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.0 in favor of * @deprecated since 2.3 for removal in 2.5 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 {
/** /**
* 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.0 in favor of using * @deprecated since 2.3 for removal in 2.5 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 {
* 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.0 in favor of using * @deprecated since 2.3 for removal in 2.5 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 {
/** /**
* 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.0 in favor of using * @deprecated since 2.3 for removal in 2.5 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.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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.0 in favor of {@code directories} * @deprecated since 2.3 for removal in 2.5 in favor of {@code directories}
*/ */
@Deprecated @Deprecated
@Parameter(property = "spring-boot.run.folders") @Parameter(property = "spring-boot.run.folders")

View File

@ -738,7 +738,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.0 in favor of * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #refresh(ConfigurableApplicationContext)} * {@link #refresh(ConfigurableApplicationContext)}
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -38,7 +38,8 @@ import org.springframework.core.annotation.AnnotationUtils;
* *
* @author Dave Syer * @author Dave Syer
* @since 1.1.0 * @since 1.1.0
* @deprecated since 2.2.0 in favor of {@link ConfigurationPropertiesBean} * @deprecated since 2.2 for removal in 2.4 in favor of
* {@link ConfigurationPropertiesBean}
*/ */
@Deprecated @Deprecated
public class ConfigurationBeanFactoryMetadata implements ApplicationContextAware { public class ConfigurationBeanFactoryMetadata implements ApplicationContextAware {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -32,7 +32,8 @@ import org.springframework.core.Ordered;
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.2.0 * @since 1.2.0
* @deprecated since 2.3.0 as the Bitronix project is no longer being maintained * @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* maintained
*/ */
@Deprecated @Deprecated
public class BitronixDependentBeanFactoryPostProcessor implements BeanFactoryPostProcessor, Ordered { public class BitronixDependentBeanFactoryPostProcessor implements BeanFactoryPostProcessor, Ordered {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -27,7 +27,8 @@ import org.springframework.boot.jms.XAConnectionFactoryWrapper;
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.2.0 * @since 1.2.0
* @deprecated since 2.3.0 as the Bitronix project is no longer being maintained * @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* maintained
*/ */
@Deprecated @Deprecated
public class BitronixXAConnectionFactoryWrapper implements XAConnectionFactoryWrapper { public class BitronixXAConnectionFactoryWrapper implements XAConnectionFactoryWrapper {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -26,7 +26,8 @@ import org.springframework.boot.jdbc.XADataSourceWrapper;
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.2.0 * @since 1.2.0
* @deprecated since 2.3.0 as the Bitronix project is no longer being maintained * @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* maintained
*/ */
@Deprecated @Deprecated
public class BitronixXADataSourceWrapper implements XADataSourceWrapper { public class BitronixXADataSourceWrapper implements XADataSourceWrapper {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -41,7 +41,8 @@ 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.0 as the Bitronix project is no longer being maintained * @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* maintained
*/ */
@Deprecated @Deprecated
@SuppressWarnings("serial") @SuppressWarnings("serial")

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -42,7 +42,8 @@ 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.0 as the Bitronix project is no longer being maintained * @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* maintained
*/ */
@Deprecated @Deprecated
@SuppressWarnings("serial") @SuppressWarnings("serial")

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -16,6 +16,7 @@
/** /**
* Support classes for Bitronix JTA. * Support classes for Bitronix JTA.
* @deprecated since 2.3.0 as the Bitronix project is no longer being maintained * @deprecated since 2.3 for removal in 2.5 as the Bitronix project is no longer being
* maintained
*/ */
package org.springframework.boot.jta.bitronix; package org.springframework.boot.jta.bitronix;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -94,8 +94,8 @@ public class NettyRSocketServerFactory implements RSocketServerFactory, Configur
* {@link ServerRSocketFactory} while building the server. Calling this method will * {@link ServerRSocketFactory} while building the server. Calling this method will
* replace any existing processors. * replace any existing processors.
* @param socketFactoryProcessors processors to apply before the server starts * @param socketFactoryProcessors processors to apply before the server starts
* @deprecated in favor of {@link #setRSocketServerCustomizers(Collection)} as of * @deprecated since 2.2.7 for removal in 2.4 in favor of
* 2.2.7 * {@link #setRSocketServerCustomizers(Collection)}
*/ */
@Deprecated @Deprecated
public void setSocketFactoryProcessors( public void setSocketFactoryProcessors(
@ -108,8 +108,8 @@ public class NettyRSocketServerFactory implements RSocketServerFactory, Configur
* Add {@link ServerRSocketFactoryProcessor}s that should be called to process the * Add {@link ServerRSocketFactoryProcessor}s that should be called to process the
* {@link ServerRSocketFactory} while building the server. * {@link ServerRSocketFactory} while building the server.
* @param socketFactoryProcessors processors to apply before the server starts * @param socketFactoryProcessors processors to apply before the server starts
* @deprecated in favor of * @deprecated since 2.2.7 for removal in 2.4 in favor of
* {@link #addRSocketServerCustomizers(RSocketServerCustomizer...)} as of 2.2.7 * {@link #addRSocketServerCustomizers(RSocketServerCustomizer...)}
*/ */
@Deprecated @Deprecated
public void addSocketFactoryProcessors(ServerRSocketFactoryProcessor... socketFactoryProcessors) { public void addSocketFactoryProcessors(ServerRSocketFactoryProcessor... socketFactoryProcessors) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -25,7 +25,7 @@ import io.rsocket.RSocketFactory.ServerRSocketFactory;
* @author Brian Clozel * @author Brian Clozel
* @see RSocketServerFactory * @see RSocketServerFactory
* @since 2.2.0 * @since 2.2.0
* @deprecated in favor of {@link RSocketServerCustomizer} as of 2.2.7 * @deprecated since 2.2.7 for removal in 2.4 in favor of {@link RSocketServerCustomizer}
*/ */
@FunctionalInterface @FunctionalInterface
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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.0 in favor of * @deprecated since 2.3 for removal in 2.5 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 {
* @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.0 in favor of * @deprecated since 2.3 for removal in 2.5 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 {
* @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.0 in favor of * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #UndertowServletWebServer(io.undertow.Undertow.Builder, Iterable, String, boolean)} * {@link #UndertowServletWebServer(io.undertow.Undertow.Builder, Iterable, String, boolean)}
*/ */
@Deprecated @Deprecated

View File

@ -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.0 in favor of * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #UndertowWebServer(io.undertow.Undertow.Builder, Iterable, boolean)} * {@link #UndertowWebServer(io.undertow.Undertow.Builder, Iterable, boolean)}
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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.0 in favor of * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link ErrorAttributeOptions#including(Include...)} * {@link ErrorAttributeOptions#including(Include...)}
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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.0 in favor of * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #getErrorAttributes(ServerRequest, ErrorAttributeOptions)} * {@link #getErrorAttributes(ServerRequest, ErrorAttributeOptions)}
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -81,7 +81,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.0 in favor of * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link ErrorAttributeOptions#including(Include...)} * {@link ErrorAttributeOptions#including(Include...)}
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -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.0 in favor of * @deprecated since 2.3 for removal in 2.5 in favor of
* {@link #getErrorAttributes(WebRequest, ErrorAttributeOptions)} * {@link #getErrorAttributes(WebRequest, ErrorAttributeOptions)}
*/ */
@Deprecated @Deprecated

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2020 the original author or authors. * Copyright 2012-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -33,7 +33,8 @@ 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.0 in favor of setting the property `server.error.path` * @deprecated since 2.3 for removal in 2.5 in favor of setting the property
* `server.error.path`
*/ */
@Deprecated @Deprecated
String getErrorPath(); String getErrorPath();