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

非推奨の API

内容

  • 最終的に非推奨
  • インターフェース
  • クラス
  • 列挙クラス
  • アノテーションインターフェース
  • フィールド
  • メソッド
  • コンストラクター
  • 最終的に非推奨の要素
    要素
    説明
    org.springframework.boot.actuate.autoconfigure.endpoint.web.reactive.WebFluxEndpointManagementContextConfiguration.controllerEndpointHandlerMapping(ControllerEndpointsSupplier, CorsEndpointProperties, WebEndpointProperties)
    org.springframework.boot.actuate.autoconfigure.endpoint.web.servlet.WebMvcEndpointManagementContextConfiguration.controllerEndpointHandlerMapping(ControllerEndpointsSupplier, CorsEndpointProperties, WebEndpointProperties)
    org.springframework.boot.actuate.autoconfigure.influx.InfluxDbHealthContributorAutoConfiguration
    3.2.0 以降、新しいクライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されています。
    org.springframework.boot.actuate.autoconfigure.metrics.export.otlp.OtlpProperties.getResourceAttributes()
    org.springframework.boot.actuate.autoconfigure.metrics.export.otlp.OtlpProperties.setResourceAttributes(Map<String, String>)
    org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusProperties.getHistogramFlavor()
    org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusProperties.HistogramFlavor
    3.5.0 で削除のため 3.3.0 以降
    org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusSimpleclientMetricsExportAutoConfiguration
    3.3.0 以降、3.5.0 で削除され PrometheusMetricsExportAutoConfiguration を推奨
    org.springframework.boot.actuate.autoconfigure.tracing.prometheus.PrometheusSimpleclientExemplarsAutoConfiguration
    3.5.0 で削除のため 3.3.0 以降
    org.springframework.boot.actuate.autoconfigure.tracing.zipkin.ZipkinRestTemplateBuilderCustomizer
    3.3.0 以降、3.5.0 で削除され ZipkinHttpClientBuilderCustomizer を推奨
    org.springframework.boot.actuate.autoconfigure.tracing.zipkin.ZipkinWebClientBuilderCustomizer
    3.3.0 以降、3.5.0 で削除され ZipkinHttpClientBuilderCustomizer を推奨
    org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpoint
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointDiscoverer
    3.3.0 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointsSupplier
    3.3.3 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.endpoint.web.annotation.ExposableControllerEndpoint
    3.3.3 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.endpoint.web.annotation.RestControllerEndpoint
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpoint
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpointDiscoverer
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpointsSupplier
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.EndpointServlet
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.ExposableServletEndpoint
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.reactive.ControllerEndpointHandlerMapping
    3.3.5 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.endpoint.web.servlet.ControllerEndpointHandlerMapping
    3.3.5 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar
    3.3.0 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.influx.InfluxDbHealthIndicator
    3.2.0 以降、新しいクライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されています。
    org.springframework.boot.actuate.metrics.export.prometheus.PrometheusScrapeEndpoint(PrometheusRegistry)
    3.3.1 以降、3.5.0 で削除され PrometheusScrapeEndpoint(PrometheusRegistry, Properties) を推奨
    org.springframework.boot.actuate.metrics.export.prometheus.PrometheusSimpleclientScrapeEndpoint
    3.3.0 以降、3.5.0 で削除され PrometheusScrapeEndpoint を推奨
    org.springframework.boot.actuate.metrics.export.prometheus.TextOutputFormat
    3.3.0 以降、3.5.0 で削除され PrometheusOutputFormat を推奨
    org.springframework.boot.actuate.session.SessionsEndpoint(FindByIndexNameSessionRepository<? extends Session>)
    3.3.0 以降、3.5.0 で削除され SessionsEndpoint(SessionRepository, FindByIndexNameSessionRepository) を推奨
    org.springframework.boot.autoconfigure.batch.JobLauncherApplicationRunner.validate()
    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.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.influx.InfluxDbAutoConfiguration
    3.2.0 以降、新しいクライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されています。
    org.springframework.boot.autoconfigure.influx.InfluxDbCustomizer
    3.2.0 以降、新しいクライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されています。
    org.springframework.boot.autoconfigure.influx.InfluxDbOkHttpClientBuilderProvider
    3.2.0 以降、新しいクライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されています。
    org.springframework.boot.autoconfigure.influx.InfluxDbProperties
    3.2.0 以降、新しい InfluxDB Java クライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されました。
    org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer.setObservationRegistry(ObservationRegistry)
    3.3.10 以降、4.0.0 で削除されました。これはパッケージ非公開であるべきでした。
    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.jooq.JooqExceptionTranslator
    3.3.0 以降、3.5.0 では削除され、ExceptionTranslatorExecuteListener.DEFAULT または ExceptionTranslatorExecuteListener.of(java.util.function.Function<org.jooq.ExecuteContext, org.springframework.jdbc.support.SQLExceptionTranslator>) が優先されます。
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.buildAdminProperties()
    3.2.0 は 3.4.0 で削除され、KafkaProperties.buildAdminProperties(SslBundles) が優先されるため }
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.buildStreamsProperties()
    3.2.0 は 3.4.0 で削除され、KafkaProperties.buildStreamsProperties(SslBundles) が優先されるため }
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Ssl.buildProperties()
    org.springframework.boot.autoconfigure.transaction.PlatformTransactionManagerCustomizer
    3.2.0 以降、3.4.0 で削除され、TransactionManagerCustomizer を優先。
    org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers(Collection<? extends PlatformTransactionManagerCustomizer<?>>)
    3.2.0 以降、3.4.0 で削除され TransactionManagerCustomizers.of(Collection) を推奨
    org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers.customize(PlatformTransactionManager)
    3.2.0 以降、3.4.0 で削除され TransactionManagerCustomizers.customize(TransactionManager) を推奨
    org.springframework.boot.autoconfigure.web.ServerProperties.Tomcat.isRejectIllegalHeader()
    org.springframework.boot.autoconfigure.web.ServerProperties.Tomcat.setRejectIllegalHeader(boolean)
    org.springframework.boot.autoconfigure.web.ServerProperties.Undertow.isAllowEncodedSlash()
    org.springframework.boot.autoconfigure.web.ServerProperties.Undertow.setAllowEncodedSlash(boolean)
    org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.isThrowExceptionIfNoHandlerFound()
    org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.setThrowExceptionIfNoHandlerFound(boolean)
    org.springframework.boot.buildpack.platform.docker.DockerApi.ImageApi.exportLayerFiles(ImageReference, IOBiConsumer<String, Path>)
    3.2.6 以降、3.5.0 で削除され DockerApi.ImageApi.exportLayers(ImageReference, IOBiConsumer) を推奨
    org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail.getCurrent()
    3.3.7 以降、3.5.0 で削除され ProgressUpdateEvent.ProgressDetail.asPercentage() を推奨
    org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail.getTotal()
    3.3.7 以降、3.5.0 で削除され ProgressUpdateEvent.ProgressDetail.asPercentage() を推奨
    org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail.isEmpty(ProgressUpdateEvent.ProgressDetail)
    3.5.0 で削除のため 3.3.7 以降
    org.springframework.boot.context.config.DelegatingApplicationContextInitializer
    3.4.0 でのプロパティベースの初期化としての 3.2.0 の削除は推奨されなくなったため
    org.springframework.boot.context.config.DelegatingApplicationListener
    3.4.0 でのプロパティベースの初期化としての 3.2.0 の削除は推奨されなくなったため
    org.springframework.boot.logging.logback.LogbackLoggingSystemProperties.ROLLINGPOLICY_CLEAN_HISTORY_ON_START
    RollingPolicySystemProperty.CLEAN_HISTORY_ON_START で RollingPolicySystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.logback.LogbackLoggingSystemProperties.ROLLINGPOLICY_FILE_NAME_PATTERN
    RollingPolicySystemProperty.FILE_NAME_PATTERN で RollingPolicySystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.logback.LogbackLoggingSystemProperties.ROLLINGPOLICY_MAX_FILE_SIZE
    RollingPolicySystemProperty.MAX_FILE_SIZE で RollingPolicySystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.logback.LogbackLoggingSystemProperties.ROLLINGPOLICY_MAX_HISTORY
    RollingPolicySystemProperty.MAX_HISTORY で RollingPolicySystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.logback.LogbackLoggingSystemProperties.ROLLINGPOLICY_TOTAL_SIZE_CAP
    RollingPolicySystemProperty.TOTAL_SIZE_CAP で RollingPolicySystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.CONSOLE_LOG_CHARSET
    LoggingSystemProperty.CONSOLE_CHARSET で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.CONSOLE_LOG_PATTERN
    LoggingSystemProperty.CONSOLE_PATTERN で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.CONSOLE_LOG_THRESHOLD
    LoggingSystemProperty.CONSOLE_THRESHOLD で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.EXCEPTION_CONVERSION_WORD
    LoggingSystemProperty.EXCEPTION_CONVERSION_WORD で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.FILE_LOG_CHARSET
    LoggingSystemProperty.FILE_CHARSET で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.FILE_LOG_PATTERN
    LoggingSystemProperty.FILE_PATTERN で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.FILE_LOG_THRESHOLD
    LoggingSystemProperty.FILE_THRESHOLD で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.LOG_DATEFORMAT_PATTERN
    LoggingSystemProperty.DATEFORMAT_PATTERN で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.LOG_FILE
    LoggingSystemProperty.LOG_FILE で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.LOG_LEVEL_PATTERN
    LoggingSystemProperty.LEVEL_PATTERN で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.LOG_PATH
    LoggingSystemProperty.LOG_PATH で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.PID_KEY
    LoggingSystemProperty.PID で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.setSystemProperty(PropertyResolver, String, String)
    3.2.0 以降、代替なしで 3.4.0 で削除される予定
    org.springframework.boot.logging.LoggingSystemProperties.setSystemProperty(PropertyResolver, String, String, String)
    3.2.0 以降、代替なしで 3.4.0 で削除される予定
    org.springframework.boot.ssl.pem.PemSslStoreBundle(PemSslStoreDetails, PemSslStoreDetails, String)
    3.2.0 以降、3.4.0 では削除され、keyStoreDetails および trustStoreDetails では PemSslStoreDetails.alias() が使用されます。
    org.springframework.boot.ssl.pem.PemSslStoreDetails.certificate()
    3.2.0 以降、3.4.0 で削除され PemSslStoreDetails.certificates() を推奨
    org.springframework.boot.task.TaskExecutorBuilder
    3.2.0 以降、3.4.0 で削除され ThreadPoolTaskExecutorBuilder を推奨
    org.springframework.boot.task.TaskExecutorCustomizer
    3.2.0 以降、3.4.0 で削除され ThreadPoolTaskExecutorCustomizer を推奨
    org.springframework.boot.task.TaskSchedulerBuilder
    3.2.0 以降、3.4.0 で削除され ThreadPoolTaskSchedulerBuilder を推奨
    org.springframework.boot.task.TaskSchedulerCustomizer
    3.2.0 以降、3.4.0 で削除され ThreadPoolTaskSchedulerCustomizer を推奨
    org.springframework.boot.test.autoconfigure.ConditionReportApplicationContextFailureProcessor
    3.2.11 で 4.0.0 から削除
    org.springframework.boot.testcontainers.properties.BeforeTestcontainersPropertySuppliedEvent
    3.2.6 以降、3.4.0 で削除され BeforeTestcontainerUsedEvent を推奨
    org.springframework.boot.web.client.ClientHttpRequestFactorySettings(Duration, Duration, Boolean)
    3.2.0 以降、バッファリングのサポートは Spring Framework 6.1 で削除されたため、3.4.0 では削除されています。
    org.springframework.boot.web.client.ClientHttpRequestFactorySettings(Duration, Duration, Boolean, SslBundle)
    3.2.0 以降、バッファリングのサポートは Spring Framework 6.1 で削除されたため、3.4.0 では削除されています。
    org.springframework.boot.web.client.ClientHttpRequestFactorySettings.bufferRequestBody()
    3.2.0 以降、バッファリングのサポートは Spring Framework 6.1 で削除されたため、3.4.0 では削除されています。
    org.springframework.boot.web.client.ClientHttpRequestFactorySettings.withBufferRequestBody(Boolean)
    3.2.0 以降、バッファリングのサポートは Spring Framework 6.1 で削除されたため、3.4.0 では削除されています。
    org.springframework.boot.web.client.RestTemplateBuilder.setBufferRequestBody(boolean)
    3.2.0 以降、バッファリングのサポートは Spring Framework 6.1 で削除されたため、3.4.0 では削除されています。
    org.springframework.boot.web.client.RootUriTemplateHandler(String)
    3.4.0 で削除のため 3.2.3 以降、置換なし
    org.springframework.boot.web.client.RootUriTemplateHandler(String, UriTemplateHandler)
    3.4.0 で削除のため 3.2.3 以降、置換なし
    org.springframework.boot.web.client.RootUriTemplateHandler.addTo(RestTemplate, String)
    3.4.0 で削除のため 3.2.3 以降、置換なし
    org.springframework.boot.web.client.RootUriTemplateHandler.withHandlerWrapper(Function<UriTemplateHandler, UriTemplateHandler>)
    3.4.0 で削除のため 3.2.3 以降、置換なし
    org.springframework.boot.web.embedded.netty.NettyWebServer(HttpServer, ReactorHttpHandlerAdapter, Duration, Shutdown)
    3.2.0 以降、3.4.0 で削除され NettyWebServer(HttpServer, ReactorHttpHandlerAdapter, Duration, Shutdown, ReactorResourceFactory) を推奨
    org.springframework.boot.web.embedded.netty.SslServerCustomizer.createSslContextSpec()
    3.2.0 以降、3.4.0 で削除され SslServerCustomizer.createSslContextSpec(SslBundle) を推奨
  • 非推奨のインターフェース
    インターフェース
    説明
    org.springframework.boot.actuate.autoconfigure.tracing.zipkin.ZipkinRestTemplateBuilderCustomizer
    3.3.0 以降、3.5.0 で削除され ZipkinHttpClientBuilderCustomizer を推奨
    org.springframework.boot.actuate.autoconfigure.tracing.zipkin.ZipkinWebClientBuilderCustomizer
    3.3.0 以降、3.5.0 で削除され ZipkinHttpClientBuilderCustomizer を推奨
    org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointsSupplier
    3.3.3 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.endpoint.web.annotation.ExposableControllerEndpoint
    3.3.3 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpointsSupplier
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.ExposableServletEndpoint
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.autoconfigure.influx.InfluxDbCustomizer
    3.2.0 以降、新しいクライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されています。
    org.springframework.boot.autoconfigure.influx.InfluxDbOkHttpClientBuilderProvider
    3.2.0 以降、新しいクライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されています。
    org.springframework.boot.autoconfigure.transaction.PlatformTransactionManagerCustomizer
    3.2.0 以降、3.4.0 で削除され、TransactionManagerCustomizer を優先。
    org.springframework.boot.task.TaskExecutorCustomizer
    3.2.0 以降、3.4.0 で削除され ThreadPoolTaskExecutorCustomizer を推奨
    org.springframework.boot.task.TaskSchedulerCustomizer
    3.2.0 以降、3.4.0 で削除され ThreadPoolTaskSchedulerCustomizer を推奨
  • 非推奨のクラス
    クラス
    説明
    org.springframework.boot.actuate.autoconfigure.influx.InfluxDbHealthContributorAutoConfiguration
    3.2.0 以降、新しいクライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されています。
    org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusSimpleclientMetricsExportAutoConfiguration
    3.3.0 以降、3.5.0 で削除され PrometheusMetricsExportAutoConfiguration を推奨
    org.springframework.boot.actuate.autoconfigure.tracing.prometheus.PrometheusSimpleclientExemplarsAutoConfiguration
    3.5.0 で削除のため 3.3.0 以降
    org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointDiscoverer
    3.3.0 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpointDiscoverer
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.EndpointServlet
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.reactive.ControllerEndpointHandlerMapping
    3.3.5 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.endpoint.web.servlet.ControllerEndpointHandlerMapping
    3.3.5 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar
    3.3.0 以降は @Endpoint と @WebEndpoint のサポートを推奨
    org.springframework.boot.actuate.influx.InfluxDbHealthIndicator
    3.2.0 以降、新しいクライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されています。
    org.springframework.boot.actuate.metrics.export.prometheus.PrometheusSimpleclientScrapeEndpoint
    3.3.0 以降、3.5.0 で削除され PrometheusScrapeEndpoint を推奨
    org.springframework.boot.autoconfigure.influx.InfluxDbAutoConfiguration
    3.2.0 以降、新しいクライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されています。
    org.springframework.boot.autoconfigure.influx.InfluxDbProperties
    3.2.0 以降、新しい InfluxDB Java クライアントと独自の Spring Boot 統合を優先して 3.4.0 で削除されました。
    org.springframework.boot.autoconfigure.jooq.JooqExceptionTranslator
    3.3.0 以降、3.5.0 では削除され、ExceptionTranslatorExecuteListener.DEFAULT または ExceptionTranslatorExecuteListener.of(java.util.function.Function<org.jooq.ExecuteContext, org.springframework.jdbc.support.SQLExceptionTranslator>) が優先されます。
    org.springframework.boot.context.config.DelegatingApplicationContextInitializer
    3.4.0 でのプロパティベースの初期化としての 3.2.0 の削除は推奨されなくなったため
    org.springframework.boot.context.config.DelegatingApplicationListener
    3.4.0 でのプロパティベースの初期化としての 3.2.0 の削除は推奨されなくなったため
    org.springframework.boot.task.TaskExecutorBuilder
    3.2.0 以降、3.4.0 で削除され ThreadPoolTaskExecutorBuilder を推奨
    org.springframework.boot.task.TaskSchedulerBuilder
    3.2.0 以降、3.4.0 で削除され ThreadPoolTaskSchedulerBuilder を推奨
    org.springframework.boot.test.autoconfigure.ConditionReportApplicationContextFailureProcessor
    3.2.11 で 4.0.0 から削除
    org.springframework.boot.testcontainers.properties.BeforeTestcontainersPropertySuppliedEvent
    3.2.6 以降、3.4.0 で削除され BeforeTestcontainerUsedEvent を推奨
  • 非推奨の Enum クラス
    列挙型 Class
    説明
    org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusProperties.HistogramFlavor
    3.5.0 で削除のため 3.3.0 以降
    org.springframework.boot.actuate.metrics.export.prometheus.TextOutputFormat
    3.3.0 以降、3.5.0 で削除され PrometheusOutputFormat を推奨
  • 非推奨のアノテーションインターフェース
    アノテーションインターフェース
    説明
    org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpoint
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.annotation.RestControllerEndpoint
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
    org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpoint
    3.3.0 は @Endpoint と @WebEndpoint に有利であるため
  • 非推奨のフィールド
    フィールド
    説明
    org.springframework.boot.logging.logback.LogbackLoggingSystemProperties.ROLLINGPOLICY_CLEAN_HISTORY_ON_START
    RollingPolicySystemProperty.CLEAN_HISTORY_ON_START で RollingPolicySystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.logback.LogbackLoggingSystemProperties.ROLLINGPOLICY_FILE_NAME_PATTERN
    RollingPolicySystemProperty.FILE_NAME_PATTERN で RollingPolicySystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.logback.LogbackLoggingSystemProperties.ROLLINGPOLICY_MAX_FILE_SIZE
    RollingPolicySystemProperty.MAX_FILE_SIZE で RollingPolicySystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.logback.LogbackLoggingSystemProperties.ROLLINGPOLICY_MAX_HISTORY
    RollingPolicySystemProperty.MAX_HISTORY で RollingPolicySystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.logback.LogbackLoggingSystemProperties.ROLLINGPOLICY_TOTAL_SIZE_CAP
    RollingPolicySystemProperty.TOTAL_SIZE_CAP で RollingPolicySystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.CONSOLE_LOG_CHARSET
    LoggingSystemProperty.CONSOLE_CHARSET で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.CONSOLE_LOG_PATTERN
    LoggingSystemProperty.CONSOLE_PATTERN で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.CONSOLE_LOG_THRESHOLD
    LoggingSystemProperty.CONSOLE_THRESHOLD で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.EXCEPTION_CONVERSION_WORD
    LoggingSystemProperty.EXCEPTION_CONVERSION_WORD で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.FILE_LOG_CHARSET
    LoggingSystemProperty.FILE_CHARSET で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.FILE_LOG_PATTERN
    LoggingSystemProperty.FILE_PATTERN で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.FILE_LOG_THRESHOLD
    LoggingSystemProperty.FILE_THRESHOLD で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.LOG_DATEFORMAT_PATTERN
    LoggingSystemProperty.DATEFORMAT_PATTERN で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.LOG_FILE
    LoggingSystemProperty.LOG_FILE で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.LOG_LEVEL_PATTERN
    LoggingSystemProperty.LEVEL_PATTERN で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.LOG_PATH
    LoggingSystemProperty.LOG_PATH で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
    org.springframework.boot.logging.LoggingSystemProperties.PID_KEY
    LoggingSystemProperty.PID で LoggingSystemProperty.getEnvironmentVariableName() を呼び出すことを優先して、3.4.0 で削除するための 3.2.0 以降
  • 非推奨のメソッド
    メソッド
    説明
    org.springframework.boot.actuate.autoconfigure.endpoint.web.reactive.WebFluxEndpointManagementContextConfiguration.controllerEndpointHandlerMapping(ControllerEndpointsSupplier, CorsEndpointProperties, WebEndpointProperties)
    org.springframework.boot.actuate.autoconfigure.endpoint.web.servlet.WebMvcEndpointManagementContextConfiguration.controllerEndpointHandlerMapping(ControllerEndpointsSupplier, CorsEndpointProperties, WebEndpointProperties)
    org.springframework.boot.actuate.autoconfigure.metrics.export.otlp.OtlpProperties.getResourceAttributes()
    org.springframework.boot.actuate.autoconfigure.metrics.export.otlp.OtlpProperties.setResourceAttributes(Map<String, String>)
    org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusProperties.getHistogramFlavor()
    org.springframework.boot.autoconfigure.batch.JobLauncherApplicationRunner.validate()
    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.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.jms.DefaultJmsListenerContainerFactoryConfigurer.setObservationRegistry(ObservationRegistry)
    3.3.10 以降、4.0.0 で削除されました。これはパッケージ非公開であるべきでした。
    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.KafkaProperties.buildAdminProperties()
    3.2.0 は 3.4.0 で削除され、KafkaProperties.buildAdminProperties(SslBundles) が優先されるため }
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.buildStreamsProperties()
    3.2.0 は 3.4.0 で削除され、KafkaProperties.buildStreamsProperties(SslBundles) が優先されるため }
    org.springframework.boot.autoconfigure.kafka.KafkaProperties.Ssl.buildProperties()
    org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers.customize(PlatformTransactionManager)
    3.2.0 以降、3.4.0 で削除され TransactionManagerCustomizers.customize(TransactionManager) を推奨
    org.springframework.boot.autoconfigure.web.ServerProperties.Tomcat.isRejectIllegalHeader()
    org.springframework.boot.autoconfigure.web.ServerProperties.Tomcat.setRejectIllegalHeader(boolean)
    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.isThrowExceptionIfNoHandlerFound()
    org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.setThrowExceptionIfNoHandlerFound(boolean)
    org.springframework.boot.buildpack.platform.docker.DockerApi.ImageApi.exportLayerFiles(ImageReference, IOBiConsumer<String, Path>)
    3.2.6 以降、3.5.0 で削除され DockerApi.ImageApi.exportLayers(ImageReference, IOBiConsumer) を推奨
    org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail.getCurrent()
    3.3.7 以降、3.5.0 で削除され ProgressUpdateEvent.ProgressDetail.asPercentage() を推奨
    org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail.getTotal()
    3.3.7 以降、3.5.0 で削除され ProgressUpdateEvent.ProgressDetail.asPercentage() を推奨
    org.springframework.boot.buildpack.platform.docker.ProgressUpdateEvent.ProgressDetail.isEmpty(ProgressUpdateEvent.ProgressDetail)
    3.5.0 で削除のため 3.3.7 以降
    org.springframework.boot.logging.LoggingSystemProperties.setSystemProperty(PropertyResolver, String, String)
    3.2.0 以降、代替なしで 3.4.0 で削除される予定
    org.springframework.boot.logging.LoggingSystemProperties.setSystemProperty(PropertyResolver, String, String, String)
    3.2.0 以降、代替なしで 3.4.0 で削除される予定
    org.springframework.boot.ssl.pem.PemSslStoreDetails.certificate()
    3.2.0 以降、3.4.0 で削除され PemSslStoreDetails.certificates() を推奨
    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.client.ClientHttpRequestFactorySettings.bufferRequestBody()
    3.2.0 以降、バッファリングのサポートは Spring Framework 6.1 で削除されたため、3.4.0 では削除されています。
    org.springframework.boot.web.client.ClientHttpRequestFactorySettings.withBufferRequestBody(Boolean)
    3.2.0 以降、バッファリングのサポートは Spring Framework 6.1 で削除されたため、3.4.0 では削除されています。
    org.springframework.boot.web.client.RestTemplateBuilder.setBufferRequestBody(boolean)
    3.2.0 以降、バッファリングのサポートは Spring Framework 6.1 で削除されたため、3.4.0 では削除されています。
    org.springframework.boot.web.client.RootUriTemplateHandler.addTo(RestTemplate, String)
    3.4.0 で削除のため 3.2.3 以降、置換なし
    org.springframework.boot.web.client.RootUriTemplateHandler.withHandlerWrapper(Function<UriTemplateHandler, UriTemplateHandler>)
    3.4.0 で削除のため 3.2.3 以降、置換なし
    org.springframework.boot.web.embedded.netty.SslServerCustomizer.createSslContextSpec()
    3.2.0 以降、3.4.0 で削除され SslServerCustomizer.createSslContextSpec(SslBundle) を推奨
  • 非推奨のコンストラクター
    コンストラクター
    説明
    org.springframework.boot.actuate.metrics.export.prometheus.PrometheusScrapeEndpoint(PrometheusRegistry)
    3.3.1 以降、3.5.0 で削除され PrometheusScrapeEndpoint(PrometheusRegistry, Properties) を推奨
    org.springframework.boot.actuate.session.SessionsEndpoint(FindByIndexNameSessionRepository<? extends Session>)
    3.3.0 以降、3.5.0 で削除され SessionsEndpoint(SessionRepository, FindByIndexNameSessionRepository) を推奨
    org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers(Collection<? extends PlatformTransactionManagerCustomizer<?>>)
    3.2.0 以降、3.4.0 で削除され TransactionManagerCustomizers.of(Collection) を推奨
    org.springframework.boot.ssl.pem.PemSslStoreBundle(PemSslStoreDetails, PemSslStoreDetails, String)
    3.2.0 以降、3.4.0 では削除され、keyStoreDetails および trustStoreDetails では PemSslStoreDetails.alias() が使用されます。
    org.springframework.boot.web.client.ClientHttpRequestFactorySettings(Duration, Duration, Boolean)
    3.2.0 以降、バッファリングのサポートは Spring Framework 6.1 で削除されたため、3.4.0 では削除されています。
    org.springframework.boot.web.client.ClientHttpRequestFactorySettings(Duration, Duration, Boolean, SslBundle)
    3.2.0 以降、バッファリングのサポートは Spring Framework 6.1 で削除されたため、3.4.0 では削除されています。
    org.springframework.boot.web.client.RootUriTemplateHandler(String)
    3.4.0 で削除のため 3.2.3 以降、置換なし
    org.springframework.boot.web.client.RootUriTemplateHandler(String, UriTemplateHandler)
    3.4.0 で削除のため 3.2.3 以降、置換なし
    org.springframework.boot.web.embedded.netty.NettyWebServer(HttpServer, ReactorHttpHandlerAdapter, Duration, Shutdown)
    3.2.0 以降、3.4.0 で削除され NettyWebServer(HttpServer, ReactorHttpHandlerAdapter, Duration, Shutdown, ReactorResourceFactory) を推奨