Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Annotation Interfaces
  • Methods
  • Constructors
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration()
    since 3.0.0 in favor of AbstractCompositeHealthContributorConfiguration(Function)
    org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration()
    since 3.0.0 in favor of CompositeHealthContributorConfiguration(Function)
    org.springframework.boot.actuate.autoconfigure.health.CompositeReactiveHealthContributorConfiguration()
    since 3.0.0 in favor of CompositeReactiveHealthContributorConfiguration(Function)
    org.springframework.boot.actuate.autoconfigure.metrics.MetricsProperties.Web.Client.ClientRequest.getMetricName()
    org.springframework.boot.actuate.autoconfigure.metrics.MetricsProperties.Web.Client.ClientRequest.setMetricName(String)
    org.springframework.boot.actuate.autoconfigure.metrics.MetricsProperties.Web.Server.ServerRequest.getMetricName()
    org.springframework.boot.actuate.autoconfigure.metrics.MetricsProperties.Web.Server.ServerRequest.setMetricName(String)
    org.springframework.boot.actuate.metrics.export.prometheus.PrometheusPushGatewayManager.ShutdownOperation.PUSH
    since 3.0.0 for removal in 3.2.0 in favor of PrometheusPushGatewayManager.ShutdownOperation.POST.
    org.springframework.boot.actuate.metrics.web.client.DefaultRestTemplateExchangeTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of DefaultClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.client.RestTemplateExchangeTags
    since 3.0.0 for removal in 3.2.0 in favor of DefaultClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.client.RestTemplateExchangeTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.client.DefaultWebClientExchangeTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.client.WebClientExchangeTags
    since 3.0.0 for removal in 3.2.0 in favor of DefaultClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.client.WebClientExchangeTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.server.DefaultWebFluxTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTags
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTagsContributor
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.servlet.DefaultWebMvcTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTags
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTagsContributor
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.autoconfigure.couchbase.CouchbaseProperties.Ssl.getKeyStore()
    org.springframework.boot.autoconfigure.couchbase.CouchbaseProperties.Ssl.getKeyStorePassword()
    org.springframework.boot.autoconfigure.couchbase.CouchbaseProperties.Ssl.setKeyStore(String)
    org.springframework.boot.autoconfigure.couchbase.CouchbaseProperties.Ssl.setKeyStorePassword(String)
    org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.FlywayConfiguration.flyway(FlywayProperties, ResourceLoader, ObjectProvider<DataSource>, ObjectProvider<DataSource>, ObjectProvider<FlywayConfigurationCustomizer>, ObjectProvider<JavaMigration>, ObjectProvider<Callback>)
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Streams.getCacheMaxSizeBuffering()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Streams.setCacheMaxSizeBuffering(DataSize)
    org.springframework.boot.autoconfigure.liquibase.LiquibaseProperties.getLabels()
    org.springframework.boot.autoconfigure.liquibase.LiquibaseProperties.setLabels(String)
    org.springframework.boot.autoconfigure.mongo.MongoPropertiesClientSettingsBuilderCustomizer
    since 3.1.0 in favor of StandardMongoClientSettingsBuilderCustomizer
    org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientPropertiesRegistrationAdapter
    since 3.1.0 for removal in 3.3.0 in favor of OAuth2ClientPropertiesMapper
    org.springframework.boot.autoconfigure.web.ServerProperties.getMaxHttpHeaderSize()
    org.springframework.boot.autoconfigure.web.ServerProperties.Netty.getMaxChunkSize()
    org.springframework.boot.autoconfigure.web.ServerProperties.Netty.setMaxChunkSize(DataSize)
    org.springframework.boot.autoconfigure.web.ServerProperties.setMaxHttpHeaderSize(DataSize)
    org.springframework.boot.autoconfigure.web.ServerProperties.Undertow.isAllowEncodedSlash()
    org.springframework.boot.autoconfigure.web.ServerProperties.Undertow.setAllowEncodedSlash(boolean)
    org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.isIgnoreDefaultModelOnRedirect()
    org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.setIgnoreDefaultModelOnRedirect(boolean)
    org.springframework.boot.context.properties.ConstructorBinding
    since 3.0.0 for removal in 3.2.0 in favor of ConstructorBinding
    org.springframework.boot.jackson.JsonMixinModule(ApplicationContext, Collection<String>)
    since 3.0.0 in favor of JsonMixinModule.registerEntries(JsonMixinModuleEntries, ClassLoader)
    org.springframework.boot.rsocket.server.ConfigurableRSocketServerFactory.setSslStoreProvider(SslStoreProvider)
    since 3.1.0 for removal in 3.3.0 in favor of ConfigurableRSocketServerFactory.setSslBundles(SslBundles)
    org.springframework.boot.test.autoconfigure.actuate.metrics.AutoConfigureMetrics
    since 3.0.0 for removal in 3.2.0 in favor of @AutoConfigureObservability
    org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
    since 3.0.0 for removal in 3.2.0 in favor of ApplicationContextFailureProcessor
    org.springframework.boot.test.context.DefaultTestExecutionListenersPostProcessor
    since 3.0.0 removal in 3.2.0 in favor of ApplicationContextFailureProcessor
    org.springframework.boot.web.client.ClientHttpRequestFactorySupplier
    since 3.0.0 for removal in 3.2.0 in favor of ClientHttpRequestFactories
    org.springframework.boot.web.server.AbstractConfigurableWebServerFactory.getOrCreateSslStoreProvider()
    since 3.1.0 for removal in 3.3.0 in favor of AbstractConfigurableWebServerFactory.getSslBundle()
    org.springframework.boot.web.server.CertificateFileSslStoreProvider
    since 3.1.0 for removal in 3.3.0 in favor of registering a SslBundle backed by a PemSslStoreBundle.
    org.springframework.boot.web.server.ConfigurableWebServerFactory.setSslStoreProvider(SslStoreProvider)
    since 3.1.0 for removal in 3.3.0, in favor of ConfigurableWebServerFactory.setSslBundles(SslBundles)
    org.springframework.boot.web.server.SslConfigurationValidator
    since 3.1.0 for removal in 3.3.0 in favor of SslBundleKey.assertContainsAlias(KeyStore)
    org.springframework.boot.web.server.SslStoreProvider
    since 3.1.0 for removal in 3.3.0 in favor of registering an SslBundle.
    org.springframework.boot.web.server.WebServerSslBundle.get(Ssl, SslBundles, SslStoreProvider)
    since 3.1.0 for removal in 3.3.0 along with SslStoreProvider
    org.springframework.boot.web.servlet.server.Session.Cookie.getComment()
    since 3.0.0 without replacement
    org.springframework.boot.web.servlet.server.Session.Cookie.setComment(String)
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.boot.actuate.metrics.web.client.RestTemplateExchangeTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.client.WebClientExchangeTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTagsContributor
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTagsContributor
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.test.context.DefaultTestExecutionListenersPostProcessor
    since 3.0.0 removal in 3.2.0 in favor of ApplicationContextFailureProcessor
    org.springframework.boot.web.server.SslStoreProvider
    since 3.1.0 for removal in 3.3.0 in favor of registering an SslBundle.
  • Deprecated Classes
    Class
    Description
    org.springframework.boot.actuate.metrics.web.client.DefaultRestTemplateExchangeTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of DefaultClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.client.RestTemplateExchangeTags
    since 3.0.0 for removal in 3.2.0 in favor of DefaultClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.client.DefaultWebClientExchangeTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.client.WebClientExchangeTags
    since 3.0.0 for removal in 3.2.0 in favor of DefaultClientRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.server.DefaultWebFluxTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTags
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.servlet.DefaultWebMvcTagsProvider
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTags
    since 3.0.0 for removal in 3.2.0 in favor of ServerRequestObservationConvention
    org.springframework.boot.autoconfigure.mongo.MongoPropertiesClientSettingsBuilderCustomizer
    since 3.1.0 in favor of StandardMongoClientSettingsBuilderCustomizer
    org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientPropertiesRegistrationAdapter
    since 3.1.0 for removal in 3.3.0 in favor of OAuth2ClientPropertiesMapper
    org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
    since 3.0.0 for removal in 3.2.0 in favor of ApplicationContextFailureProcessor
    org.springframework.boot.web.client.ClientHttpRequestFactorySupplier
    since 3.0.0 for removal in 3.2.0 in favor of ClientHttpRequestFactories
    org.springframework.boot.web.server.CertificateFileSslStoreProvider
    since 3.1.0 for removal in 3.3.0 in favor of registering a SslBundle backed by a PemSslStoreBundle.
    org.springframework.boot.web.server.SslConfigurationValidator
    since 3.1.0 for removal in 3.3.0 in favor of SslBundleKey.assertContainsAlias(KeyStore)
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    org.springframework.boot.context.properties.ConstructorBinding
    since 3.0.0 for removal in 3.2.0 in favor of ConstructorBinding
    org.springframework.boot.test.autoconfigure.actuate.metrics.AutoConfigureMetrics
    since 3.0.0 for removal in 3.2.0 in favor of @AutoConfigureObservability
  • Deprecated Methods
    Method
    Description
    org.springframework.boot.actuate.autoconfigure.metrics.MetricsProperties.Web.Client.ClientRequest.getMetricName()
    org.springframework.boot.actuate.autoconfigure.metrics.MetricsProperties.Web.Client.ClientRequest.setMetricName(String)
    org.springframework.boot.actuate.autoconfigure.metrics.MetricsProperties.Web.Server.ServerRequest.getMetricName()
    org.springframework.boot.actuate.autoconfigure.metrics.MetricsProperties.Web.Server.ServerRequest.setMetricName(String)
    org.springframework.boot.autoconfigure.couchbase.CouchbaseProperties.Ssl.getKeyStore()
    org.springframework.boot.autoconfigure.couchbase.CouchbaseProperties.Ssl.getKeyStorePassword()
    org.springframework.boot.autoconfigure.couchbase.CouchbaseProperties.Ssl.setKeyStore(String)
    org.springframework.boot.autoconfigure.couchbase.CouchbaseProperties.Ssl.setKeyStorePassword(String)
    org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.FlywayConfiguration.flyway(FlywayProperties, ResourceLoader, ObjectProvider<DataSource>, ObjectProvider<DataSource>, ObjectProvider<FlywayConfigurationCustomizer>, ObjectProvider<JavaMigration>, ObjectProvider<Callback>)
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Streams.getCacheMaxSizeBuffering()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Streams.setCacheMaxSizeBuffering(DataSize)
    org.springframework.boot.autoconfigure.liquibase.LiquibaseProperties.getLabels()
    org.springframework.boot.autoconfigure.liquibase.LiquibaseProperties.setLabels(String)
    org.springframework.boot.autoconfigure.web.ServerProperties.getMaxHttpHeaderSize()
    org.springframework.boot.autoconfigure.web.ServerProperties.Netty.getMaxChunkSize()
    org.springframework.boot.autoconfigure.web.ServerProperties.Netty.setMaxChunkSize(DataSize)
    org.springframework.boot.autoconfigure.web.ServerProperties.setMaxHttpHeaderSize(DataSize)
    org.springframework.boot.autoconfigure.web.ServerProperties.Undertow.isAllowEncodedSlash()
    org.springframework.boot.autoconfigure.web.ServerProperties.Undertow.setAllowEncodedSlash(boolean)
    org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.EnableWebMvcConfiguration.themeResolver()
    org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.isIgnoreDefaultModelOnRedirect()
    org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.setIgnoreDefaultModelOnRedirect(boolean)
    org.springframework.boot.rsocket.server.ConfigurableRSocketServerFactory.setSslStoreProvider(SslStoreProvider)
    since 3.1.0 for removal in 3.3.0 in favor of ConfigurableRSocketServerFactory.setSslBundles(SslBundles)
    org.springframework.boot.test.context.assertj.ApplicationContextAssertProvider.assertThat()
    to prevent accidental use. Prefer standard AssertJ assertThat(context)... calls instead.
    org.springframework.boot.test.json.JsonContent.assertThat()
    to prevent accidental use. Prefer standard AssertJ assertThat(context)... calls instead.
    org.springframework.boot.web.server.AbstractConfigurableWebServerFactory.getOrCreateSslStoreProvider()
    since 3.1.0 for removal in 3.3.0 in favor of AbstractConfigurableWebServerFactory.getSslBundle()
    org.springframework.boot.web.server.ConfigurableWebServerFactory.setSslStoreProvider(SslStoreProvider)
    since 3.1.0 for removal in 3.3.0, in favor of ConfigurableWebServerFactory.setSslBundles(SslBundles)
    org.springframework.boot.web.server.WebServerSslBundle.get(Ssl, SslBundles, SslStoreProvider)
    since 3.1.0 for removal in 3.3.0 along with SslStoreProvider
    org.springframework.boot.web.servlet.server.Session.Cookie.getComment()
    since 3.0.0 without replacement
    org.springframework.boot.web.servlet.server.Session.Cookie.setComment(String)
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration()
    since 3.0.0 in favor of AbstractCompositeHealthContributorConfiguration(Function)
    org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration()
    since 3.0.0 in favor of CompositeHealthContributorConfiguration(Function)
    org.springframework.boot.actuate.autoconfigure.health.CompositeReactiveHealthContributorConfiguration()
    since 3.0.0 in favor of CompositeReactiveHealthContributorConfiguration(Function)
    org.springframework.boot.jackson.JsonMixinModule(ApplicationContext, Collection<String>)
    since 3.0.0 in favor of JsonMixinModule.registerEntries(JsonMixinModuleEntries, ClassLoader)
  • Deprecated Enum Constants
    Enum Constant
    Description
    org.springframework.boot.actuate.metrics.export.prometheus.PrometheusPushGatewayManager.ShutdownOperation.PUSH
    since 3.0.0 for removal in 3.2.0 in favor of PrometheusPushGatewayManager.ShutdownOperation.POST.