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

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Fields
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.boot.autoconfigure.batch.JobLauncherApplicationRunner.validate()
    org.springframework.boot.autoconfigure.codec.CodecProperties
    since 3.5.0 for removal in 4.0.0 in favor of HttpCodecsProperties
    org.springframework.boot.autoconfigure.condition.ConditionOutcome.inverse(ConditionOutcome)
    since 3.5.0 for removal in 4.0.0 in favor of ConditionOutcome(boolean, ConditionMessage)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.getOracleKerberosCacheFile()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.getOracleSqlplus()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.getOracleSqlplusWarn()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.getOracleWalletLocation()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.getSqlServerKerberosLoginFile()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.isCleanOnValidationError()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setCleanOnValidationError(boolean)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setOracleKerberosCacheFile(String)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setOracleSqlplus(Boolean)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setOracleSqlplusWarn(Boolean)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setOracleWalletLocation(String)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setSqlServerKerberosLoginFile(String)
    org.springframework.boot.autoconfigure.graphql.GraphQlProperties.DeprecatedSse
    org.springframework.boot.autoconfigure.graphql.GraphQlProperties.DeprecatedSse.getTimeout()
    org.springframework.boot.autoconfigure.graphql.GraphQlProperties.DeprecatedSse.setTimeout(Duration)
    org.springframework.boot.autoconfigure.graphql.GraphQlProperties.getPath()
    org.springframework.boot.autoconfigure.graphql.GraphQlProperties.setPath(String)
    org.springframework.boot.autoconfigure.gson.GsonProperties.getLenient()
    org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer.setObservationRegistry(ObservationRegistry)
    since 3.3.10 for removal in 4.0.0 as this should have been package private
    org.springframework.boot.autoconfigure.jms.JmsProperties.Listener.getAcknowledgeMode()
    org.springframework.boot.autoconfigure.jms.JmsProperties.Listener.getConcurrency()
    org.springframework.boot.autoconfigure.jms.JmsProperties.Listener.setAcknowledgeMode(AcknowledgeMode)
    org.springframework.boot.autoconfigure.jms.JmsProperties.Listener.setConcurrency(Integer)
    org.springframework.boot.autoconfigure.kafka.KafkaConnectionDetails.getAdminBootstrapServers()
    since 3.5.0 for removal in 4.0.0 in favor of KafkaConnectionDetails.getAdmin()
    org.springframework.boot.autoconfigure.kafka.KafkaConnectionDetails.getConsumerBootstrapServers()
    since 3.5.0 for removal in 4.0.0 in favor of KafkaConnectionDetails.getConsumer()
    org.springframework.boot.autoconfigure.kafka.KafkaConnectionDetails.getProducerBootstrapServers()
    since 3.5.0 for removal in 4.0.0 in favor of KafkaConnectionDetails.getProducer()
    org.springframework.boot.autoconfigure.kafka.KafkaConnectionDetails.getStreamsBootstrapServers()
    since 3.5.0 for removal in 4.0.0 in favor of KafkaConnectionDetails.getStreams()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.getDelay()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.getMaxDelay()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.getMultiplier()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.isRandomBackOff()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.setDelay(Duration)
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.setMaxDelay(Duration)
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.setMultiplier(double)
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.setRandomBackOff(boolean)
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Ssl.buildProperties()
    org.springframework.boot.autoconfigure.mongo.StandardMongoClientSettingsBuilderCustomizer(ConnectionString, UuidRepresentation, MongoProperties.Ssl, SslBundles)
    since 3.5.0 for removal in 4.0.0 in favor of StandardMongoClientSettingsBuilderCustomizer(MongoConnectionDetails, UuidRepresentation)
    org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.getVendorProperties()
    since 3.4.4 for removal in 4.0.0 in favor of JpaBaseConfiguration.getVendorProperties(DataSource)
    org.springframework.boot.autoconfigure.security.oauth2.client.ClientsConfiguredCondition
    since 3.5.0 for removal in 4.0.0 in favor of @ConditionalOnOAuth2ClientRegistrationProperties
    org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration
    since 3.5.0 for removal in 4.0.0 in favor of OAuth2ClientAutoConfiguration
    org.springframework.boot.autoconfigure.security.oauth2.resource.IssuerUriCondition
    since 3.5.0 for removal in 4.0.0 in favor of @ConditionalOnIssuerLocationJwtDecoder
    org.springframework.boot.autoconfigure.security.oauth2.resource.KeyValueCondition
    since 3.5.0 for removal in 4.0.0 in favor of @ConditionalOnPublicKeyJwtDecoder
    org.springframework.boot.autoconfigure.security.SecurityProperties.IGNORED_ORDER
    since 3.5.0 for removal in 4.0.0 since Spring Security no longer recommends using the .ignoring() method
    org.springframework.boot.autoconfigure.security.servlet.AntPathRequestMatcherProvider
    since 3.5.0 for removal in 4.0.0 along with RequestMatcherProvider
    org.springframework.boot.autoconfigure.security.servlet.RequestMatcherProvider
    since 3.5.0 for removal in 4.0.0 in favor of org.springframework.boot.actuate.autoconfigure.security.servlet.RequestMatcherProvider
    org.springframework.boot.autoconfigure.service.connection.ConnectionDetailsFactories()
    since 3.5.0 for removal in 4.0.0 in favor of ConnectionDetailsFactories(ClassLoader)
    org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorAutoConfiguration
    since 3.5.0 for removal in 4.0.0 in favor of ClientHttpConnectorAutoConfiguration and to align with the deprecation of ReactorNettyHttpClientMapper
    org.springframework.boot.autoconfigure.web.reactive.function.client.ReactorNettyHttpClientMapper
    since 3.5.0 for removal in 4.0.0 in favor of ClientHttpConnectorBuilderCustomizer or declaring a pre-configured ClientHttpConnectorBuilder bean
    org.springframework.boot.autoconfigure.web.ServerProperties.Undertow.isAllowEncodedSlash()
    org.springframework.boot.autoconfigure.web.ServerProperties.Undertow.setAllowEncodedSlash(boolean)
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.boot.autoconfigure.security.servlet.RequestMatcherProvider
    since 3.5.0 for removal in 4.0.0 in favor of org.springframework.boot.actuate.autoconfigure.security.servlet.RequestMatcherProvider
    org.springframework.boot.autoconfigure.web.reactive.function.client.ReactorNettyHttpClientMapper
    since 3.5.0 for removal in 4.0.0 in favor of ClientHttpConnectorBuilderCustomizer or declaring a pre-configured ClientHttpConnectorBuilder bean
  • Deprecated Classes
    Class
    Description
    org.springframework.boot.autoconfigure.codec.CodecProperties
    since 3.5.0 for removal in 4.0.0 in favor of HttpCodecsProperties
    org.springframework.boot.autoconfigure.graphql.GraphQlProperties.DeprecatedSse
    org.springframework.boot.autoconfigure.security.oauth2.client.ClientsConfiguredCondition
    since 3.5.0 for removal in 4.0.0 in favor of @ConditionalOnOAuth2ClientRegistrationProperties
    org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration
    since 3.5.0 for removal in 4.0.0 in favor of OAuth2ClientAutoConfiguration
    org.springframework.boot.autoconfigure.security.oauth2.resource.IssuerUriCondition
    since 3.5.0 for removal in 4.0.0 in favor of @ConditionalOnIssuerLocationJwtDecoder
    org.springframework.boot.autoconfigure.security.oauth2.resource.KeyValueCondition
    since 3.5.0 for removal in 4.0.0 in favor of @ConditionalOnPublicKeyJwtDecoder
    org.springframework.boot.autoconfigure.security.servlet.AntPathRequestMatcherProvider
    since 3.5.0 for removal in 4.0.0 along with RequestMatcherProvider
    org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorAutoConfiguration
    since 3.5.0 for removal in 4.0.0 in favor of ClientHttpConnectorAutoConfiguration and to align with the deprecation of ReactorNettyHttpClientMapper
  • Deprecated Fields
    Field
    Description
    org.springframework.boot.autoconfigure.security.SecurityProperties.IGNORED_ORDER
    since 3.5.0 for removal in 4.0.0 since Spring Security no longer recommends using the .ignoring() method
  • Deprecated Methods
    Method
    Description
    org.springframework.boot.autoconfigure.batch.JobLauncherApplicationRunner.validate()
    org.springframework.boot.autoconfigure.condition.ConditionOutcome.inverse(ConditionOutcome)
    since 3.5.0 for removal in 4.0.0 in favor of ConditionOutcome(boolean, ConditionMessage)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.getOracleKerberosCacheFile()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.getOracleSqlplus()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.getOracleSqlplusWarn()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.getOracleWalletLocation()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.getSqlServerKerberosLoginFile()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.isCleanOnValidationError()
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setCleanOnValidationError(boolean)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setOracleKerberosCacheFile(String)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setOracleSqlplus(Boolean)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setOracleSqlplusWarn(Boolean)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setOracleWalletLocation(String)
    org.springframework.boot.autoconfigure.flyway.FlywayProperties.setSqlServerKerberosLoginFile(String)
    org.springframework.boot.autoconfigure.graphql.GraphQlProperties.DeprecatedSse.getTimeout()
    org.springframework.boot.autoconfigure.graphql.GraphQlProperties.DeprecatedSse.setTimeout(Duration)
    org.springframework.boot.autoconfigure.graphql.GraphQlProperties.getPath()
    org.springframework.boot.autoconfigure.graphql.GraphQlProperties.setPath(String)
    org.springframework.boot.autoconfigure.gson.GsonProperties.getLenient()
    org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer.setObservationRegistry(ObservationRegistry)
    since 3.3.10 for removal in 4.0.0 as this should have been package private
    org.springframework.boot.autoconfigure.jms.JmsProperties.Listener.getAcknowledgeMode()
    org.springframework.boot.autoconfigure.jms.JmsProperties.Listener.getConcurrency()
    org.springframework.boot.autoconfigure.jms.JmsProperties.Listener.setAcknowledgeMode(AcknowledgeMode)
    org.springframework.boot.autoconfigure.jms.JmsProperties.Listener.setConcurrency(Integer)
    org.springframework.boot.autoconfigure.kafka.KafkaConnectionDetails.getAdminBootstrapServers()
    since 3.5.0 for removal in 4.0.0 in favor of KafkaConnectionDetails.getAdmin()
    org.springframework.boot.autoconfigure.kafka.KafkaConnectionDetails.getConsumerBootstrapServers()
    since 3.5.0 for removal in 4.0.0 in favor of KafkaConnectionDetails.getConsumer()
    org.springframework.boot.autoconfigure.kafka.KafkaConnectionDetails.getProducerBootstrapServers()
    since 3.5.0 for removal in 4.0.0 in favor of KafkaConnectionDetails.getProducer()
    org.springframework.boot.autoconfigure.kafka.KafkaConnectionDetails.getStreamsBootstrapServers()
    since 3.5.0 for removal in 4.0.0 in favor of KafkaConnectionDetails.getStreams()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.getDelay()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.getMaxDelay()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.getMultiplier()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.isRandomBackOff()
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.setDelay(Duration)
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.setMaxDelay(Duration)
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.setMultiplier(double)
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic.setRandomBackOff(boolean)
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Ssl.buildProperties()
    org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.getVendorProperties()
    since 3.4.4 for removal in 4.0.0 in favor of JpaBaseConfiguration.getVendorProperties(DataSource)
    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()
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.boot.autoconfigure.mongo.StandardMongoClientSettingsBuilderCustomizer(ConnectionString, UuidRepresentation, MongoProperties.Ssl, SslBundles)
    since 3.5.0 for removal in 4.0.0 in favor of StandardMongoClientSettingsBuilderCustomizer(MongoConnectionDetails, UuidRepresentation)
    org.springframework.boot.autoconfigure.service.connection.ConnectionDetailsFactories()
    since 3.5.0 for removal in 4.0.0 in favor of ConnectionDetailsFactories(ClassLoader)