ナビゲーションリンクをスキップ
  • ホーム
  • 概要
  • パッケージ
  • クラス
  • 使用
  • ツリー
  • 非推奨
  • インデックス
  • ヘルプ

非推奨の API

内容

  • 最終的に非推奨
  • インターフェース
  • クラス
  • 列挙クラス
  • アノテーションインターフェース
  • メソッド
  • コンストラクター
  • 列挙型定数
  • 最終的に非推奨の要素
    要素
    説明
    org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration()
    3.0.0 以降、AbstractCompositeHealthContributorConfiguration(Function) を推奨
    org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration()
    3.0.0 以降、CompositeHealthContributorConfiguration(Function) を推奨
    org.springframework.boot.actuate.autoconfigure.health.CompositeReactiveHealthContributorConfiguration()
    3.0.0 以降、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
    3.0.0 以降、3.2.0 で削除され、PrometheusPushGatewayManager.ShutdownOperation.POST を優先。
    org.springframework.boot.actuate.metrics.web.client.DefaultRestTemplateExchangeTagsProvider
    3.0.0 以降、3.2.0 で削除され DefaultClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.client.RestTemplateExchangeTags
    3.0.0 以降、3.2.0 で削除され DefaultClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.client.RestTemplateExchangeTagsProvider
    3.0.0 以降、3.2.0 で削除され ClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.client.DefaultWebClientExchangeTagsProvider
    3.0.0 以降、3.2.0 で削除され ClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.client.WebClientExchangeTags
    3.0.0 以降、3.2.0 で削除され DefaultClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.client.WebClientExchangeTagsProvider
    3.0.0 以降、3.2.0 で削除され ClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.server.DefaultWebFluxTagsProvider
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTags
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTagsContributor
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTagsProvider
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.servlet.DefaultWebMvcTagsProvider
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTags
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTagsContributor
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTagsProvider
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.autoconfigure.batch.JobLauncherApplicationRunner.validate()
    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
    3.1.0 以降、3.3.0 で削除され StandardMongoClientSettingsBuilderCustomizer を推奨
    org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientPropertiesRegistrationAdapter
    3.1.0 以降、3.3.0 で削除され 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.ConfigurationPropertiesBean.BindMethod
    3.0.8 以降、3.3.0 で削除され BindMethod を推奨
    org.springframework.boot.context.properties.ConfigurationPropertiesBean.getBindMethod()
    3.0.8 以降、3.3.0 で削除され ConfigurationPropertiesBean.asBindTarget() および Bindable.getBindMethod() を優先
    org.springframework.boot.context.properties.ConstructorBinding
    3.0.0 以降、3.2.0 で削除され ConstructorBinding を推奨
    org.springframework.boot.jackson.JsonMixinModule(ApplicationContext, Collection<String>)
    3.0.0 以降、JsonMixinModule.registerEntries(JsonMixinModuleEntries, ClassLoader) を推奨
    org.springframework.boot.jdbc.DatabaseDriver.fromDataSource(DataSource)
    2.7.15 以降、代替なしで 3.3.0 で削除される予定
    org.springframework.boot.rsocket.server.ConfigurableRSocketServerFactory.setSslStoreProvider(SslStoreProvider)
    3.1.0 以降、3.3.0 で削除され ConfigurableRSocketServerFactory.setSslBundles(SslBundles) を推奨
    org.springframework.boot.test.autoconfigure.actuate.metrics.AutoConfigureMetrics
    3.0.0 以降、3.2.0 で削除され @AutoConfigureObservability を推奨
    org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
    3.0.0 以降、3.2.0 で削除され ApplicationContextFailureProcessor を推奨
    org.springframework.boot.test.context.DefaultTestExecutionListenersPostProcessor
    3.0.0 以降、3.2.0 で削除され ApplicationContextFailureProcessor を推奨
    org.springframework.boot.web.client.ClientHttpRequestFactorySupplier
    3.0.0 以降、3.2.0 で削除され ClientHttpRequestFactories を推奨
    org.springframework.boot.web.server.AbstractConfigurableWebServerFactory.getOrCreateSslStoreProvider()
    3.1.0 以降、3.3.0 で削除され AbstractConfigurableWebServerFactory.getSslBundle() を推奨
    org.springframework.boot.web.server.CertificateFileSslStoreProvider
    3.1.0 以降、3.3.0 で削除され PemSslStoreBundle に基づく SslBundle の登録が優先されます。
    org.springframework.boot.web.server.ConfigurableWebServerFactory.setSslStoreProvider(SslStoreProvider)
    3.3.0 では 3.1.0 が削除され、ConfigurableWebServerFactory.setSslBundles(SslBundles) が優先されます。
    org.springframework.boot.web.server.SslConfigurationValidator
    3.1.0 以降、3.3.0 で削除され SslBundleKey.assertContainsAlias(KeyStore) を推奨
    org.springframework.boot.web.server.SslStoreProvider
    3.1.0 は 3.3.0 で削除され、SslBundle の登録が優先されます。
    org.springframework.boot.web.server.WebServerSslBundle.get(Ssl, SslBundles, SslStoreProvider)
    3.1.0 以降、SslStoreProvider とともに 3.3.0 で削除されます
    org.springframework.boot.web.servlet.server.Session.Cookie.getComment()
    3.0.0 以降代替なし
    org.springframework.boot.web.servlet.server.Session.Cookie.setComment(String)
  • 非推奨のインターフェース
    インターフェース
    説明
    org.springframework.boot.actuate.metrics.web.client.RestTemplateExchangeTagsProvider
    3.0.0 以降、3.2.0 で削除され ClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.client.WebClientExchangeTagsProvider
    3.0.0 以降、3.2.0 で削除され ClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTagsContributor
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTagsProvider
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTagsContributor
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTagsProvider
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.test.context.DefaultTestExecutionListenersPostProcessor
    3.0.0 以降、3.2.0 で削除され ApplicationContextFailureProcessor を推奨
    org.springframework.boot.web.server.SslStoreProvider
    3.1.0 は 3.3.0 で削除され、SslBundle の登録が優先されます。
  • 非推奨のクラス
    クラス
    説明
    org.springframework.boot.actuate.metrics.web.client.DefaultRestTemplateExchangeTagsProvider
    3.0.0 以降、3.2.0 で削除され DefaultClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.client.RestTemplateExchangeTags
    3.0.0 以降、3.2.0 で削除され DefaultClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.client.DefaultWebClientExchangeTagsProvider
    3.0.0 以降、3.2.0 で削除され ClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.client.WebClientExchangeTags
    3.0.0 以降、3.2.0 で削除され DefaultClientRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.server.DefaultWebFluxTagsProvider
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTags
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.servlet.DefaultWebMvcTagsProvider
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.actuate.metrics.web.servlet.WebMvcTags
    3.0.0 以降、3.2.0 で削除され ServerRequestObservationConvention を推奨
    org.springframework.boot.autoconfigure.mongo.MongoPropertiesClientSettingsBuilderCustomizer
    3.1.0 以降、3.3.0 で削除され StandardMongoClientSettingsBuilderCustomizer を推奨
    org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientPropertiesRegistrationAdapter
    3.1.0 以降、3.3.0 で削除され OAuth2ClientPropertiesMapper を推奨
    org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
    3.0.0 以降、3.2.0 で削除され ApplicationContextFailureProcessor を推奨
    org.springframework.boot.web.client.ClientHttpRequestFactorySupplier
    3.0.0 以降、3.2.0 で削除され ClientHttpRequestFactories を推奨
    org.springframework.boot.web.server.CertificateFileSslStoreProvider
    3.1.0 以降、3.3.0 で削除され PemSslStoreBundle に基づく SslBundle の登録が優先されます。
    org.springframework.boot.web.server.SslConfigurationValidator
    3.1.0 以降、3.3.0 で削除され SslBundleKey.assertContainsAlias(KeyStore) を推奨
  • 非推奨の Enum クラス
    列挙型 Class
    説明
    org.springframework.boot.context.properties.ConfigurationPropertiesBean.BindMethod
    3.0.8 以降、3.3.0 で削除され BindMethod を推奨
  • 非推奨のアノテーションインターフェース
    アノテーションインターフェース
    説明
    org.springframework.boot.context.properties.ConstructorBinding
    3.0.0 以降、3.2.0 で削除され ConstructorBinding を推奨
    org.springframework.boot.test.autoconfigure.actuate.metrics.AutoConfigureMetrics
    3.0.0 以降、3.2.0 で削除され @AutoConfigureObservability を推奨
  • 非推奨のメソッド
    メソッド
    説明
    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.batch.JobLauncherApplicationRunner.validate()
    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.context.properties.ConfigurationPropertiesBean.getBindMethod()
    3.0.8 以降、3.3.0 で削除され ConfigurationPropertiesBean.asBindTarget() および Bindable.getBindMethod() を優先
    org.springframework.boot.jdbc.DatabaseDriver.fromDataSource(DataSource)
    2.7.15 以降、代替なしで 3.3.0 で削除される予定
    org.springframework.boot.rsocket.server.ConfigurableRSocketServerFactory.setSslStoreProvider(SslStoreProvider)
    3.1.0 以降、3.3.0 で削除され ConfigurableRSocketServerFactory.setSslBundles(SslBundles) を推奨
    org.springframework.boot.test.context.assertj.ApplicationContextAssertProvider.assertThat()
    誤って使用しないようにしてください。代わりに、標準の AssertJ assertThat(context)... 呼び出しを優先してください。
    org.springframework.boot.test.json.JsonContent.assertThat()
    誤って使用しないようにしてください。代わりに、標準の AssertJ assertThat(context)... 呼び出しを優先してください。
    org.springframework.boot.web.server.AbstractConfigurableWebServerFactory.getOrCreateSslStoreProvider()
    3.1.0 以降、3.3.0 で削除され AbstractConfigurableWebServerFactory.getSslBundle() を推奨
    org.springframework.boot.web.server.ConfigurableWebServerFactory.setSslStoreProvider(SslStoreProvider)
    3.3.0 では 3.1.0 が削除され、ConfigurableWebServerFactory.setSslBundles(SslBundles) が優先されます。
    org.springframework.boot.web.server.WebServerSslBundle.get(Ssl, SslBundles, SslStoreProvider)
    3.1.0 以降、SslStoreProvider とともに 3.3.0 で削除されます
    org.springframework.boot.web.servlet.server.Session.Cookie.getComment()
    3.0.0 以降代替なし
    org.springframework.boot.web.servlet.server.Session.Cookie.setComment(String)
  • 非推奨のコンストラクター
    コンストラクター
    説明
    org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration()
    3.0.0 以降、AbstractCompositeHealthContributorConfiguration(Function) を推奨
    org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration()
    3.0.0 以降、CompositeHealthContributorConfiguration(Function) を推奨
    org.springframework.boot.actuate.autoconfigure.health.CompositeReactiveHealthContributorConfiguration()
    3.0.0 以降、CompositeReactiveHealthContributorConfiguration(Function) を推奨
    org.springframework.boot.jackson.JsonMixinModule(ApplicationContext, Collection<String>)
    3.0.0 以降、JsonMixinModule.registerEntries(JsonMixinModuleEntries, ClassLoader) を推奨
  • 非推奨の列挙定数
    列挙定数
    説明
    org.springframework.boot.actuate.metrics.export.prometheus.PrometheusPushGatewayManager.ShutdownOperation.PUSH
    3.0.0 以降、3.2.0 で削除され、PrometheusPushGatewayManager.ShutdownOperation.POST を優先。