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

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Record Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.boot.context.annotation.Configurations.sort(Collection<Class<?>>)
    since 3.4.0 for removal in 3.6.0 in favor of Configurations(UnaryOperator, Collection, Function)
    org.springframework.boot.io.ApplicationResourceLoader()
    since 3.4.0 for removal in 3.6.0 in favor of ApplicationResourceLoader.get()
    org.springframework.boot.io.ApplicationResourceLoader(ClassLoader)
    since 3.4.0 for removal in 3.6.0 in favor of ApplicationResourceLoader.get(ClassLoader)
    org.springframework.boot.jdbc.HikariCheckpointRestoreLifecycle(DataSource)
    since 3.4.0 for removal in 3.6.0 in favor of HikariCheckpointRestoreLifecycle(DataSource, ConfigurableApplicationContext)
    org.springframework.boot.logging.logback.ApplicationNameConverter
    since 3.4.0 for removal in 3.6.0 in favor of EnclosedInSquareBracketsConverter
    org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder(JpaVendorAdapter, Map<String, ?>, PersistenceUnitManager)
    since 3.4.4 for removal in 3.6.0 in favor of EntityManagerFactoryBuilder(JpaVendorAdapter, Function, PersistenceUnitManager)
    org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder(JpaVendorAdapter, Map<String, ?>, PersistenceUnitManager, URL)
    since 3.4.4 for removal in 3.6.0 in favor of EntityManagerFactoryBuilder(JpaVendorAdapter, Function, PersistenceUnitManager, URL)
    org.springframework.boot.ResourceBanner.getApplicationVersion(Class<?>)
    since 3.4.0 for removal in 3.6.0
    org.springframework.boot.SpringApplication.logStartupInfo(boolean)
    since 3.4.0 for removal in 3.6.0 in favor of SpringApplication.logStartupInfo(ConfigurableApplicationContext)
    org.springframework.boot.web.client.ClientHttpRequestFactories
    since 3.4.0 for removal in 3.6.0 in favor of ClientHttpRequestFactoryBuilder
    org.springframework.boot.web.client.ClientHttpRequestFactorySettings
    since 3.4.0 for removal in 3.6.0 in favor of ClientHttpRequestFactorySettings
    org.springframework.boot.web.client.RestTemplateBuilder.requestFactory(Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory>)
    since 3.4.0 for removal in 3.6.0 in favor of RestTemplateBuilder.requestFactoryBuilder(ClientHttpRequestFactoryBuilder)
    org.springframework.boot.web.client.RestTemplateBuilder.setConnectTimeout(Duration)
    since 3.4.0 for removal in 3.6.0 in favor of RestTemplateBuilder.connectTimeout(Duration)
    org.springframework.boot.web.client.RestTemplateBuilder.setReadTimeout(Duration)
    since 3.4.0 for removal in 3.6.0 in favor of RestTemplateBuilder.readTimeout(Duration)
    org.springframework.boot.web.client.RestTemplateBuilder.setSslBundle(SslBundle)
    since 3.4.0 for removal in 3.6.0 in favor of RestTemplateBuilder.sslBundle(SslBundle)
    org.springframework.boot.webservices.client.HttpWebServiceMessageSenderBuilder
    since 3.4.0 in favor of WebServiceMessageSenderFactory.http(ClientHttpRequestFactorySettings)
  • Deprecated Classes
    Class
    Description
    org.springframework.boot.logging.logback.ApplicationNameConverter
    since 3.4.0 for removal in 3.6.0 in favor of EnclosedInSquareBracketsConverter
    org.springframework.boot.web.client.ClientHttpRequestFactories
    since 3.4.0 for removal in 3.6.0 in favor of ClientHttpRequestFactoryBuilder
    org.springframework.boot.webservices.client.HttpWebServiceMessageSenderBuilder
    since 3.4.0 in favor of WebServiceMessageSenderFactory.http(ClientHttpRequestFactorySettings)
  • Deprecated Record Classes
    Record Class
    Description
    org.springframework.boot.web.client.ClientHttpRequestFactorySettings
    since 3.4.0 for removal in 3.6.0 in favor of ClientHttpRequestFactorySettings
  • Deprecated Methods
    Method
    Description
    org.springframework.boot.context.annotation.Configurations.sort(Collection<Class<?>>)
    since 3.4.0 for removal in 3.6.0 in favor of Configurations(UnaryOperator, Collection, Function)
    org.springframework.boot.ResourceBanner.getApplicationVersion(Class<?>)
    since 3.4.0 for removal in 3.6.0
    org.springframework.boot.SpringApplication.logStartupInfo(boolean)
    since 3.4.0 for removal in 3.6.0 in favor of SpringApplication.logStartupInfo(ConfigurableApplicationContext)
    org.springframework.boot.web.client.RestTemplateBuilder.requestFactory(Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory>)
    since 3.4.0 for removal in 3.6.0 in favor of RestTemplateBuilder.requestFactoryBuilder(ClientHttpRequestFactoryBuilder)
    org.springframework.boot.web.client.RestTemplateBuilder.setConnectTimeout(Duration)
    since 3.4.0 for removal in 3.6.0 in favor of RestTemplateBuilder.connectTimeout(Duration)
    org.springframework.boot.web.client.RestTemplateBuilder.setReadTimeout(Duration)
    since 3.4.0 for removal in 3.6.0 in favor of RestTemplateBuilder.readTimeout(Duration)
    org.springframework.boot.web.client.RestTemplateBuilder.setSslBundle(SslBundle)
    since 3.4.0 for removal in 3.6.0 in favor of RestTemplateBuilder.sslBundle(SslBundle)
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.boot.io.ApplicationResourceLoader()
    since 3.4.0 for removal in 3.6.0 in favor of ApplicationResourceLoader.get()
    org.springframework.boot.io.ApplicationResourceLoader(ClassLoader)
    since 3.4.0 for removal in 3.6.0 in favor of ApplicationResourceLoader.get(ClassLoader)
    org.springframework.boot.jdbc.HikariCheckpointRestoreLifecycle(DataSource)
    since 3.4.0 for removal in 3.6.0 in favor of HikariCheckpointRestoreLifecycle(DataSource, ConfigurableApplicationContext)
    org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder(JpaVendorAdapter, Map<String, ?>, PersistenceUnitManager)
    since 3.4.4 for removal in 3.6.0 in favor of EntityManagerFactoryBuilder(JpaVendorAdapter, Function, PersistenceUnitManager)
    org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder(JpaVendorAdapter, Map<String, ?>, PersistenceUnitManager, URL)
    since 3.4.4 for removal in 3.6.0 in favor of EntityManagerFactoryBuilder(JpaVendorAdapter, Function, PersistenceUnitManager, URL)