# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Exceptions
- Deprecated Annotation Types
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors
- Deprecated Enum Constants
- Deprecated Annotation Type Elements

- Deprecated Interfaces
  Interface and Description
  org.springframework.http.client.AsyncClientHttpRequest as of Spring 5.0, in favor of `ClientRequest`
  org.springframework.http.client.AsyncClientHttpRequestExecution as of Spring 5.0, in favor of `ExchangeFilterFunction`
  org.springframework.http.client.AsyncClientHttpRequestFactory as of Spring 5.0, in favor of `ClientHttpConnector`
  org.springframework.http.client.AsyncClientHttpRequestInterceptor as of Spring 5.0, in favor of `ExchangeFilterFunction`
  org.springframework.web.client.AsyncRequestCallback as of Spring 5.0, in favor of `ExchangeFilterFunction`
  org.springframework.web.client.AsyncRestOperations as of Spring 5.0, in favor of `WebClient`
  org.springframework.jca.cci.core.CciOperations as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.jca.cci.core.ConnectionCallback as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.http.converter.protobuf.ExtensionRegistryInitializer as of Spring Framework 5.1, use `ExtensionRegistry` based constructors instead
  org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.httpinvoker.HttpInvokerRequestExecutor as of 5.3 (phasing out serialization-based remoting)
  org.springframework.jca.cci.core.InteractionCallback as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.web.servlet.mvc.LastModified as of 5.3.9 in favor of using the `checkNotModified` methods in `WebRequest`, or from an annotated controller method, returning a `ResponseEntity` with an "ETag" and/or "Last-Modified" headers set.
  org.springframework.context.support.LiveBeansViewMBean as of 5.3, in favor of using Spring Boot actuators for such needs
  org.springframework.jca.cci.core.RecordCreator as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.jca.cci.core.RecordExtractor as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.remoting.rmi.RmiInvocationHandler as of 5.3 (phasing out serialization-based remoting)

- Deprecated Classes
  Class and Description
  org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor as of 5.3 (phasing out serialization-based remoting)
  org.springframework.web.util.AbstractUriTemplateHandler as of 5.0 in favor of `DefaultUriBuilderFactory`
  org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer as of 5.0 in favor of simply using `WebSocketMessageBrokerConfigurer` which has default methods, made possible by a Java 8 baseline.
  org.springframework.beans.annotation.AnnotationBeanUtils as of 5.2, in favor of custom annotation attribute processing
  org.springframework.core.type.classreading.AnnotationMetadataReadingVisitor As of Spring Framework 5.2, this class has been replaced by `SimpleAnnotationMetadataReadingVisitor` for internal use within the framework, but there is no public replacement for `AnnotationMetadataReadingVisitor`.
  org.springframework.web.reactive.resource.AppCacheManifestTransformer as of 5.3 since browser support is going away
  org.springframework.web.servlet.resource.AppCacheManifestTransformer as of 5.3 since browser support is going away
  org.springframework.http.client.support.AsyncHttpAccessor as of Spring 5.0, with no direct replacement
  org.springframework.web.client.AsyncRestTemplate as of Spring 5.0, in favor of `WebClient`
  org.springframework.http.client.support.BasicAuthorizationInterceptor as of 5.1.1, in favor of `BasicAuthenticationInterceptor` which reuses `HttpHeaders.setBasicAuth(java.lang.String, java.lang.String)`, sharing its default charset ISO-8859-1 instead of UTF-8 as used here
  org.springframework.jdbc.core.BatchUpdateUtils as of 5.1.3, not used by `JdbcTemplate` anymore
  org.springframework.web.context.request.async.CallableProcessingInterceptorAdapter as of 5.0 where CallableProcessingInterceptor has default methods
  org.springframework.jca.cci.core.support.CciDaoSupport as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.jca.cci.connection.CciLocalTransactionManager as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.jca.cci.core.CciTemplate as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.messaging.support.ChannelInterceptorAdapter as of 5.0.7 `ChannelInterceptor` has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this no-op adapter
  org.springframework.remoting.rmi.CodebaseAwareObjectInputStream as of 5.3 (phasing out serialization-based remoting)
  org.springframework.jca.cci.core.support.CommAreaRecord as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.util.comparator.CompoundComparator as of Spring Framework 5.0, in favor of the standard JDK 8 `Comparator.thenComparing(Comparator)`
  org.springframework.jca.cci.connection.ConnectionFactoryUtils as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.jca.cci.connection.ConnectionHolder as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.scheduling.support.CronSequenceGenerator as of 5.3, in favor of `CronExpression`
  org.springframework.format.datetime.joda.DateTimeFormatterFactory as of 5.3, in favor of standard JSR-310 support
  org.springframework.format.datetime.joda.DateTimeFormatterFactoryBean as of 5.3, in favor of standard JSR-310 support
  org.springframework.format.datetime.joda.DateTimeParser as of 5.3, in favor of standard JSR-310 support
  org.springframework.jdbc.support.incrementer.DB2MainframeSequenceMaxValueIncrementer in favor of the differently named `Db2MainframeMaxValueIncrementer`
  org.springframework.jdbc.support.incrementer.DB2SequenceMaxValueIncrementer in favor of the specifically named `Db2LuwMaxValueIncrementer`
  org.springframework.web.util.DefaultUriTemplateHandler as of 5.0 in favor of `DefaultUriBuilderFactory`. Note: `DefaultUriBuilderFactory` has a different default for the `parsePath` property (from false to true).
  org.springframework.web.context.request.async.DeferredResultProcessingInterceptorAdapter as of 5.0 where DeferredResultProcessingInterceptor has default methods
  org.springframework.jca.cci.connection.DelegatingConnectionFactory as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.scheduling.commonj.DelegatingTimerListener as of 5.1, in favor of EE 7's `DefaultManagedTaskScheduler`
  org.springframework.scheduling.commonj.DelegatingWork as of 5.1, in favor of EE 7's `DefaultManagedTaskExecutor`
  org.springframework.jca.cci.object.EisOperation as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.web.reactive.function.client.ExchangeFilterFunctions.Credentials as of Spring 5.1 in favor of using `HttpHeaders.setBasicAuth(String, String)` while building the request.
  org.springframework.mock.jndi.ExpectedLookupTemplate Deprecated as of Spring Framework 5.2 in favor of complete solutions from third parties such as Simple-JNDI
  org.springframework.web.filter.reactive.ForwardedHeaderFilter as of 5.1 this filter is deprecated in favor of using `ForwardedHeaderTransformer` which can be declared as a bean with the name "forwardedHeaderTransformer" or registered explicitly in `WebHttpHandlerBuilder`.
  org.springframework.test.context.support.GenericPropertiesContextLoader as of 5.3, in favor of Spring's common bean definition formats and/or custom loader implementations
  org.springframework.web.reactive.resource.GzipResourceResolver as of 5.1, in favor of using `EncodedResourceResolver`
  org.springframework.web.servlet.resource.GzipResourceResolver as of 5.1, in favor of using `EncodedResourceResolver`
  org.springframework.web.servlet.handler.HandlerInterceptorAdapter as of 5.3 in favor of implementing `HandlerInterceptor` and/or `AsyncHandlerInterceptor` directly.
  org.springframework.remoting.caucho.HessianClientInterceptor as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.caucho.HessianExporter as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.caucho.HessianProxyFactoryBean as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.caucho.HessianServiceExporter as of 5.3 (phasing out serialization-based remoting)
  org.springframework.orm.jpa.vendor.HibernateJpaSessionFactoryBean as of Spring Framework 4.3.12 against Hibernate 5.2, in favor of a custom solution based on `EntityManagerFactory.unwrap(java.lang.Class<T>)` with explicit qualifiers and/or primary markers
  org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory as of Spring 5.0, in favor of `HttpComponentsClientHttpConnector`
  org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter as of 5.3 (phasing out serialization-based remoting)
  org.springframework.web.filter.HttpPutFormContentFilter as of 5.1 in favor of `FormContentFilter` which is the same but also handles DELETE.
  org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter as of 5.3 in favor of implementing `InstantiationAwareBeanPostProcessor` or `SmartInstantiationAwareBeanPostProcessor` directly.
  org.springframework.http.client.InterceptingAsyncClientHttpRequestFactory as of Spring 5.0, with no direct replacement
  org.springframework.http.client.support.InterceptingAsyncHttpAccessor as of Spring 5.0, with no direct replacement
  org.springframework.util.comparator.InvertibleComparator as of Spring Framework 5.0, in favor of the standard JDK 8 `Comparator.reversed()`
  org.springframework.jdbc.core.support.JdbcBeanDefinitionReader as of 5.3, in favor of Spring's common bean definition formats and/or custom reader implementations
  org.springframework.oxm.jibx.JibxMarshaller as of Spring Framework 5.1.5, due to the lack of activity on the JiBX project
  org.springframework.jms.remoting.JmsInvokerClientInterceptor as of 5.3 (phasing out serialization-based remoting)
  org.springframework.jms.remoting.JmsInvokerProxyFactoryBean as of 5.3 (phasing out serialization-based remoting)
  org.springframework.jms.remoting.JmsInvokerServiceExporter as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.rmi.JndiRmiClientInterceptor as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.rmi.JndiRmiProxyFactoryBean as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.rmi.JndiRmiServiceExporter as of 5.3 (phasing out serialization-based remoting)
  org.springframework.format.datetime.joda.JodaDateTimeFormatAnnotationFormatterFactory as of 5.3, in favor of standard JSR-310 support
  org.springframework.format.datetime.joda.JodaTimeContext as of 5.3, in favor of standard JSR-310 support
  org.springframework.format.datetime.joda.JodaTimeContextHolder as of 5.3, in favor of standard JSR-310 support
  org.springframework.format.datetime.joda.JodaTimeFormatterRegistrar as of 5.3, in favor of standard JSR-310 support
  org.springframework.context.support.LiveBeansView as of 5.3, in favor of using Spring Boot actuators for such needs
  org.springframework.web.context.support.LiveBeansViewServlet as of 5.3, in favor of using Spring Boot actuators for such needs
  org.springframework.format.datetime.joda.LocalDateParser as of 5.3, in favor of standard JSR-310 support
  org.springframework.format.datetime.joda.LocalDateTimeParser as of 5.3, in favor of standard JSR-310 support
  org.springframework.format.datetime.joda.LocalTimeParser as of 5.3, in favor of standard JSR-310 support
  org.apache.commons.logging.LogFactoryService since it is only meant to be used in the above-mentioned fallback scenario
  org.springframework.jca.cci.object.MappingCommAreaOperation as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.jca.cci.object.MappingRecordOperation as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.test.util.MetaAnnotationUtils as of Spring Framework 5.3 in favor of `TestContextAnnotationUtils`
  org.springframework.core.type.classreading.MethodMetadataReadingVisitor As of Spring Framework 5.2, this class and related classes in this package have been replaced by `SimpleAnnotationMetadataReadingVisitor` and related classes for internal use within the framework.
  org.springframework.format.datetime.joda.MillisecondInstantPrinter as of 5.3, in favor of standard JSR-310 support
  org.springframework.mock.http.client.MockAsyncClientHttpRequest as of Spring 5.0, with no direct replacement
  org.springframework.jdbc.core.namedparam.NamedParameterBatchUpdateUtils as of 5.1.3, not used by `NamedParameterJdbcTemplate` anymore
  org.springframework.http.client.Netty4ClientHttpRequestFactory as of Spring 5.0, in favor of `ReactorClientHttpConnector`
  org.springframework.jca.cci.connection.NotSupportedRecordFactory as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.web.accept.PathExtensionContentNegotiationStrategy as of 5.2.4. See class-level note in `ContentNegotiationManagerFactoryBean` on the deprecation of path extension config options.
  org.springframework.messaging.handler.annotation.support.PayloadArgumentResolver as of 5.2, in favor of `PayloadMethodArgumentResolver`
  org.springframework.jdbc.support.incrementer.PostgreSQLSequenceMaxValueIncrementer in favor of the differently named `PostgresSequenceMaxValueIncrementer`
  org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer as of 5.2, along with `PropertyPlaceholderConfigurer`
  org.springframework.beans.factory.support.PropertiesBeanDefinitionReader as of 5.3, in favor of Spring's common bean definition formats and/or custom reader implementations
  org.springframework.beans.factory.config.PropertyPlaceholderConfigurer as of 5.2; use `org.springframework.context.support.PropertySourcesPlaceholderConfigurer` instead which is more flexible through taking advantage of the `Environment` and `PropertySource` mechanisms.
  org.springframework.format.datetime.joda.ReadableInstantPrinter as of 5.3, in favor of standard JSR-310 support
  org.springframework.format.datetime.joda.ReadablePartialPrinter as of 5.3, in favor of standard JSR-310 support
  org.springframework.remoting.rmi.RemoteInvocationSerializingExporter as of 5.3 (phasing out serialization-based remoting)
  org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor as of 5.1, in favor of using constructor injection for required settings (or a custom `InitializingBean` implementation)
  org.springframework.web.servlet.view.ResourceBundleViewResolver as of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementations
  org.springframework.remoting.rmi.RmiBasedExporter as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.rmi.RmiClientInterceptor as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.rmi.RmiClientInterceptorUtils as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.rmi.RmiProxyFactoryBean as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.rmi.RmiRegistryFactoryBean as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.rmi.RmiServiceExporter as of 5.3 (phasing out serialization-based remoting)
  org.springframework.scheduling.commonj.ScheduledTimerListener as of 5.1, in favor of EE 7's `DefaultManagedTaskScheduler`
  org.springframework.web.context.support.ServletContextLiveBeansView as of 5.3, in favor of using Spring Boot actuators for such needs
  org.springframework.web.accept.ServletPathExtensionContentNegotiationStrategy as of 5.2.4. See class-level note in `ContentNegotiationManagerFactoryBean` on the deprecation of path extension config options.
  org.springframework.remoting.caucho.SimpleHessianServiceExporter as of Spring Framework 5.1, in favor of `HessianServiceExporter`
  org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor as of 5.3 (phasing out serialization-based remoting)
  org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter as of Spring Framework 5.1, in favor of `HttpInvokerServiceExporter`
  org.springframework.remoting.support.SimpleHttpServerFactoryBean as of Spring Framework 5.1, in favor of embedded Tomcat/Jetty/Undertow
  org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter as of Spring Framework 5.1, in favor of `SimpleJaxWsServiceExporter`
  org.apache.commons.logging.impl.SimpleLog in `spring-jcl` (effectively equivalent to `NoOpLog`)
  org.springframework.mock.jndi.SimpleNamingContext Deprecated as of Spring Framework 5.2 in favor of complete solutions from third parties such as Simple-JNDI
  org.springframework.mock.jndi.SimpleNamingContextBuilder Deprecated as of Spring Framework 5.2 in favor of complete solutions from third parties such as Simple-JNDI
  org.springframework.jca.cci.object.SimpleRecordOperation as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.jca.cci.connection.SingleConnectionFactory as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.util.SocketUtils as of Spring Framework 5.3.16, to be removed in 6.0; see `class-level Javadoc` for details.
  org.springframework.scheduling.commonj.TimerManagerAccessor as of 5.1, in favor of EE 7's `DefaultManagedTaskScheduler`
  org.springframework.scheduling.commonj.TimerManagerFactoryBean as of 5.1, in favor of EE 7's `DefaultManagedTaskScheduler`
  org.springframework.scheduling.commonj.TimerManagerTaskScheduler as of 5.1, in favor of EE 7's `DefaultManagedTaskScheduler`
  org.springframework.jca.cci.connection.TransactionAwareConnectionFactoryProxy as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.transaction.support.TransactionSynchronizationAdapter as of 5.3, in favor of the default methods on the `TransactionSynchronization` interface
  org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter as of 5.0 `WebMvcConfigurer` has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter
  org.springframework.scheduling.commonj.WorkManagerTaskExecutor as of 5.1, in favor of the EE 7/8 based `DefaultManagedTaskExecutor`
  org.springframework.beans.factory.xml.XmlBeanFactory as of Spring 3.1 in favor of `DefaultListableBeanFactory` and `XmlBeanDefinitionReader`
  org.springframework.web.servlet.view.XmlViewResolver as of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementations

- Deprecated Exceptions
  Exceptions and Description
  org.springframework.jca.cci.CannotCreateRecordException as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.jca.cci.CannotGetCciConnectionException as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.jca.cci.CciOperationNotSupportedException as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.jca.cci.InvalidResultSetAccessException as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.web.server.MediaTypeNotSupportedStatusException in favor of `UnsupportedMediaTypeStatusException`, with this class never thrown by Spring code and to be removed in 6.0
  org.springframework.core.NestedIOException as of 5.3.23, in favor of using `IOException` directly
  org.springframework.jca.cci.RecordTypeNotSupportedException as of 5.3, in favor of specific data access APIs (or native CCI usage if there is no alternative)
  org.springframework.core.task.TaskTimeoutException as of 5.3.16 since the common executors do not support start timeouts

- Deprecated Annotation Types
  Annotation Type and Description
  org.springframework.beans.factory.annotation.Required as of 5.1, in favor of using constructor injection for required settings (or a custom `InitializingBean` implementation)
  org.springframework.lang.UsesJava7 as of 5.0 since the framework is based on Java 8+ now
  org.springframework.lang.UsesJava8 as of 5.0 since the framework is based on Java 8+ now
  org.springframework.lang.UsesSunHttpServer as of 5.1, along with Spring's Sun HTTP Server support classes

- Deprecated Fields
  Field and Description
  org.springframework.http.MediaType.APPLICATION_JSON_UTF8 as of 5.2 in favor of `MediaType.APPLICATION_JSON` since major browsers like Chrome now comply with the specification and interpret correctly UTF-8 special characters without requiring a `charset=UTF-8` parameter.
  org.springframework.http.MediaType.APPLICATION_JSON_UTF8_VALUE as of 5.2 in favor of `MediaType.APPLICATION_JSON_VALUE` since major browsers like Chrome now comply with the specification and interpret correctly UTF-8 special characters without requiring a `charset=UTF-8` parameter.
  org.springframework.http.MediaType.APPLICATION_PROBLEM_JSON_UTF8 as of 5.2 in favor of `MediaType.APPLICATION_PROBLEM_JSON` since major browsers like Chrome now comply with the specification and interpret correctly UTF-8 special characters without requiring a `charset=UTF-8` parameter.
  org.springframework.http.MediaType.APPLICATION_PROBLEM_JSON_UTF8_VALUE as of 5.2 in favor of `MediaType.APPLICATION_PROBLEM_JSON_VALUE` since major browsers like Chrome now comply with the specification and interpret correctly UTF-8 special characters without requiring a `charset=UTF-8` parameter.
  org.springframework.http.MediaType.APPLICATION_STREAM_JSON as of 5.3, see notice on `MediaType.APPLICATION_STREAM_JSON_VALUE`.
  org.springframework.http.MediaType.APPLICATION_STREAM_JSON_VALUE as of 5.3 since it originates from the W3C Activity Streams specification which has a more specific purpose and has been since replaced with a different mime type. Use `MediaType.APPLICATION_NDJSON` as a replacement or any other line-delimited JSON format (e.g. JSON Lines, JSON Text Sequences).
  org.springframework.beans.factory.config.AutowireCapableBeanFactory.AUTOWIRE_AUTODETECT as of Spring 3.0: If you are using mixed autowiring strategies, prefer annotation-based autowiring for clearer demarcation of autowiring needs.
  org.springframework.beans.factory.support.AbstractBeanDefinition.AUTOWIRE_AUTODETECT as of Spring 3.0: If you are using mixed autowiring strategies, use annotation-based autowiring for clearer demarcation of autowiring needs.
  org.springframework.asm.ClassReader.b Use `ClassReader.readByte(int)` and the other read methods instead. This field will eventually be deleted.
  org.springframework.web.reactive.function.client.ExchangeFilterFunctions.BASIC_AUTHENTICATION_CREDENTIALS_ATTRIBUTE as of Spring 5.1 in favor of using `HttpHeaders.setBasicAuth(String, String)` while building the request.
  org.springframework.web.bind.annotation.CrossOrigin.DEFAULT_ALLOW_CREDENTIALS as of Spring 5.0, in favor of `CorsConfiguration.applyPermitDefaultValues()`
  org.springframework.web.bind.annotation.CrossOrigin.DEFAULT_ALLOWED_HEADERS as of Spring 5.0, in favor of `CorsConfiguration.applyPermitDefaultValues()`
  org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.DEFAULT_CHARSET
  org.springframework.web.bind.annotation.CrossOrigin.DEFAULT_MAX_AGE as of Spring 5.0, in favor of `CorsConfiguration.applyPermitDefaultValues()`
  org.springframework.web.bind.annotation.CrossOrigin.DEFAULT_ORIGINS as of Spring 5.0, in favor of `CorsConfiguration.applyPermitDefaultValues()`
  org.springframework.web.servlet.HandlerMapping.LOOKUP_PATH as of 5.3 in favor of `UrlPathHelper.PATH_ATTRIBUTE` and `ServletRequestPathUtils.PATH_ATTRIBUTE`. To access the cached path used for request mapping, use `ServletRequestPathUtils.getCachedPathValue(ServletRequest)`.
  org.springframework.core.annotation.AnnotationFilter.NONE as of 5.2.6 since the `MergedAnnotations` model always ignores lang annotations according to the `AnnotationFilter.PLAIN` filter (for efficiency reasons)
  org.springframework.cglib.core.KeyFactory.OBJECT_BY_CLASS this customizer might result in unexpected class leak since key object still holds a strong reference to the Object and class. It is recommended to have pre-processing method that would strip Objects and represent Classes as Strings
  org.springframework.messaging.rsocket.annotation.support.RSocketFrameTypeMessageCondition.REQUEST_CONDITION as of 5.2.2 because matching to all interaction types is too flexible. Please use one of the other constants in this class that match to specific frames.
  org.springframework.context.annotation.AnnotationConfigUtils.REQUIRED_ANNOTATION_PROCESSOR_BEAN_NAME as of 5.1, since no Required processor is registered by default anymore
  org.springframework.core.task.AsyncTaskExecutor.TIMEOUT_IMMEDIATE as of 5.3.16 along with `AsyncTaskExecutor.execute(Runnable, long)`
  org.springframework.core.task.AsyncTaskExecutor.TIMEOUT_INDEFINITE as of 5.3.16 along with `AsyncTaskExecutor.execute(Runnable, long)`

- Deprecated Methods
  Method and Description
  org.springframework.core.env.Environment.acceptsProfiles(String...) as of 5.1 in favor of `Environment.acceptsProfiles(Profiles)` or `Environment.matchesProfiles(String...)`
  org.springframework.core.env.AbstractEnvironment.acceptsProfiles(String...)
  org.springframework.cache.support.AbstractCacheManager.addCache(Cache) as of Spring 4.3, in favor of `AbstractCacheManager.getMissingCache(String)`
  org.springframework.core.codec.StringDecoder.allMimeTypes(boolean) as of Spring 5.0.4, in favor of `StringDecoder.allMimeTypes()` or `StringDecoder.allMimeTypes(List, boolean)`
  org.springframework.web.servlet.support.WebContentGenerator.applyCacheSeconds(HttpServletResponse, int, boolean) as of 4.2, in favor of `WebContentGenerator.applyCacheControl(javax.servlet.http.HttpServletResponse, org.springframework.http.CacheControl)`
  org.springframework.web.reactive.function.client.ExchangeFilterFunctions.basicAuthentication() as of Spring 5.1 in favor of using `HttpHeaders.setBasicAuth(String, String)` while building the request.
  org.springframework.test.web.client.MockRestServiceServer.bindTo(AsyncRestTemplate) see deprecation notice on `AsyncRestTemplate` itself
  org.springframework.orm.hibernate5.HibernateOperations.bulkUpdate(String, Object...) as of 5.0.4, in favor of a custom `HibernateCallback` lambda code block passed to the general `HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)` method
  org.springframework.orm.hibernate5.HibernateTemplate.bulkUpdate(String, Object...)
  org.springframework.web.servlet.support.WebContentGenerator.cacheForSeconds(HttpServletResponse, int) as of 4.2, in favor of `WebContentGenerator.applyCacheControl(javax.servlet.http.HttpServletResponse, org.springframework.http.CacheControl)`
  org.springframework.web.servlet.support.WebContentGenerator.cacheForSeconds(HttpServletResponse, int, boolean) as of 4.2, in favor of `WebContentGenerator.applyCacheControl(javax.servlet.http.HttpServletResponse, org.springframework.http.CacheControl)`
  org.springframework.web.servlet.support.WebContentGenerator.checkAndPrepare(HttpServletRequest, HttpServletResponse, boolean) as of 4.2, since the `lastModified` flag is effectively ignored, with a must-revalidate header only generated if explicitly configured
  org.springframework.web.servlet.support.WebContentGenerator.checkAndPrepare(HttpServletRequest, HttpServletResponse, int, boolean) as of 4.2, since the `lastModified` flag is effectively ignored, with a must-revalidate header only generated if explicitly configured
  org.springframework.orm.hibernate5.HibernateOperations.closeIterator(Iterator<?>) as of 5.0.4, in favor of a custom `HibernateCallback` lambda code block passed to the general `HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)` method
  org.springframework.orm.hibernate5.HibernateTemplate.closeIterator(Iterator<?>)
  org.springframework.messaging.rsocket.RSocketRequester.Builder.connect(ClientTransport) as of 5.3 in favor of `RSocketRequester.Builder.transport(ClientTransport)`
  org.springframework.messaging.rsocket.RSocketRequester.Builder.connectTcp(String, int) as of 5.3 in favor of `RSocketRequester.Builder.tcp(String, int)`
  org.springframework.messaging.rsocket.RSocketRequester.Builder.connectWebSocket(URI) as of 5.3 in favor of `RSocketRequester.Builder.websocket(URI)`
  org.springframework.jdbc.datasource.init.ScriptUtils.containsSqlScriptDelimiters(String, String) as of Spring Framework 5.2.16 with no plans for replacement. This is an internal API and will likely be removed in Spring Framework 6.0.
  org.springframework.web.reactive.function.client.WebClient.RequestHeadersSpec.context(Function<Context, Context>) in 5.3.2 to be removed soon after; this method cannot provide context to downstream (nested or subsequent) requests and is of limited value.
  org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration.createLocalUserRegistry() as of 5.1 in favor of `AbstractMessageBrokerConfiguration.createLocalUserRegistry(Integer)`
  org.springframework.test.web.client.MockRestServiceServer.createServer(AsyncRestTemplate) see deprecation notice on `AsyncRestTemplate` itself
  org.springframework.http.ContentDisposition.Builder.creationDate(ZonedDateTime) since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.
  org.springframework.core.codec.AbstractDataBufferDecoder.decodeDataBuffer(DataBuffer, ResolvableType, MimeType, Map<String, Object>) as of 5.2, please implement `Decoder.decode(DataBuffer, ResolvableType, MimeType, Map)` instead
  org.springframework.http.codec.CodecConfigurer.CustomCodecs.decoder(Decoder<?>) as of 5.1.13, use `CodecConfigurer.CustomCodecs.register(Object)` or `CodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)` instead.
  org.springframework.core.MethodParameter.decreaseNestingLevel() since 5.2 in favor of retaining the original MethodParameter and using `MethodParameter.nested(Integer)` if nesting is required
  org.springframework.context.support.AbstractApplicationContext.destroy() as of Spring Framework 5.0, in favor of `AbstractApplicationContext.close()`
  org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineRequiredStatus(AnnotationAttributes) since 5.2, in favor of `AutowiredAnnotationBeanPostProcessor.determineRequiredStatus(MergedAnnotation)`
  org.springframework.web.server.handler.ResponseStatusExceptionHandler.determineStatus(Throwable) as of 5.3 in favor of `ResponseStatusExceptionHandler.determineRawStatusCode(Throwable)`.
  org.springframework.util.Assert.doesNotContain(String, String) as of 4.3.7, in favor of `Assert.doesNotContain(String, String, String)`
  org.springframework.http.codec.CodecConfigurer.CustomCodecs.encoder(Encoder<?>) as of 5.1.13, use `CodecConfigurer.CustomCodecs.register(Object)` or `CodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)` instead.
  org.springframework.mock.web.MockHttpServletResponse.encodeRedirectUrl(String)
  org.springframework.mock.web.MockHttpServletResponse.encodeUrl(String)
  org.springframework.web.reactive.socket.CloseStatus.equalsCode(CloseStatus) as of 5.3 in favor of comparing codes directly
  org.springframework.web.reactive.function.client.WebClient.RequestHeadersSpec.exchange() since 5.3 due to the possibility to leak memory and/or connections; please, use `WebClient.RequestHeadersSpec.exchangeToMono(Function)`, `WebClient.RequestHeadersSpec.exchangeToFlux(Function)`; consider also using `WebClient.RequestHeadersSpec.retrieve()` which provides access to the response status and headers via `ResponseEntity` along with error status handling.
  org.springframework.test.web.reactive.server.WebTestClient.Builder.exchangeStrategies(Consumer<ExchangeStrategies.Builder>) as of 5.1.13 in favor of `WebTestClient.Builder.codecs(Consumer)`
  org.springframework.web.reactive.function.client.WebClient.Builder.exchangeStrategies(Consumer<ExchangeStrategies.Builder>) as of 5.1.13 in favor of `WebClient.Builder.codecs(Consumer)`
  org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.execute(Runnable, long)
  org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.execute(Runnable, long)
  org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.execute(Runnable, long)
  org.springframework.scheduling.commonj.WorkManagerTaskExecutor.execute(Runnable, long)
  org.springframework.scheduling.quartz.SimpleThreadPoolTaskExecutor.execute(Runnable, long)
  org.springframework.core.task.AsyncTaskExecutor.execute(Runnable, long) as of 5.3.16 since the common executors do not support start timeouts
  org.springframework.core.task.SimpleAsyncTaskExecutor.execute(Runnable, long)
  org.springframework.core.task.support.TaskExecutorAdapter.execute(Runnable, long)
  org.springframework.jca.work.WorkManagerTaskExecutor.execute(Runnable, long)
  org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(DataSource, String) as of 5.2.9, in favor of `JdbcUtils.extractDatabaseMetaData(DataSource, DatabaseMetaDataCallback)` with a lambda expression or method reference and a generically typed result
  org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer.favorPathExtension(boolean) as of 5.2.4. See deprecation note on `ContentNegotiationManagerFactoryBean.setFavorPathExtension(boolean)`.
  org.springframework.test.web.servlet.request.MockMvcRequestBuilders.fileUpload(String, Object...) in favor of `MockMvcRequestBuilders.multipart(String, Object...)`
  org.springframework.test.web.servlet.request.MockMvcRequestBuilders.fileUpload(URI) in favor of `MockMvcRequestBuilders.multipart(URI)`
  org.springframework.orm.hibernate5.HibernateOperations.find(String, Object...) as of 5.0.4, in favor of a custom `HibernateCallback` lambda code block passed to the general `HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)` method
  org.springframework.orm.hibernate5.HibernateTemplate.find(String, Object...)
  org.springframework.core.annotation.AnnotationUtils.findAnnotationDeclaringClass(Class<? extends Annotation>, Class<?>) as of 5.2 since it is superseded by the `MergedAnnotations` API
  org.springframework.core.annotation.AnnotationUtils.findAnnotationDeclaringClassForTypes(List<Class<? extends Annotation>>, Class<?>) as of 5.2 since it is superseded by the `MergedAnnotations` API
  org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.findAutowireCandidates(Class<T>) since 5.3.24 since it is unused in the meantime
  org.springframework.orm.hibernate5.HibernateOperations.findByNamedParam(String, String[], Object[]) as of 5.0.4, in favor of a custom `HibernateCallback` lambda code block passed to the general `HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)` method
  org.springframework.orm.hibernate5.HibernateTemplate.findByNamedParam(String, String[], Object[])
  org.springframework.orm.hibernate5.HibernateOperations.findByNamedParam(String, String, Object) as of 5.0.4, in favor of a custom `HibernateCallback` lambda code block passed to the general `HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)` method
  org.springframework.orm.hibernate5.HibernateTemplate.findByNamedParam(String, String, Object)
  org.springframework.orm.hibernate5.HibernateOperations.findByNamedQuery(String, Object...) as of 5.0.4, in favor of a custom `HibernateCallback` lambda code block passed to the general `HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)` method
  org.springframework.orm.hibernate5.HibernateTemplate.findByNamedQuery(String, Object...)
  org.springframework.orm.hibernate5.HibernateOperations.findByNamedQueryAndNamedParam(String, String[], Object[]) as of 5.0.4, in favor of a custom `HibernateCallback` lambda code block passed to the general `HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)` method
  org.springframework.orm.hibernate5.HibernateTemplate.findByNamedQueryAndNamedParam(String, String[], Object[])
  org.springframework.orm.hibernate5.HibernateOperations.findByNamedQueryAndNamedParam(String, String, Object) as of 5.0.4, in favor of a custom `HibernateCallback` lambda code block passed to the general `HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)` method
  org.springframework.orm.hibernate5.HibernateTemplate.findByNamedQueryAndNamedParam(String, String, Object)
  org.springframework.orm.hibernate5.HibernateOperations.findByNamedQueryAndValueBean(String, Object) as of 5.0.4, in favor of a custom `HibernateCallback` lambda code block passed to the general `HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)` method
  org.springframework.orm.hibernate5.HibernateTemplate.findByNamedQueryAndValueBean(String, Object)
  org.springframework.orm.hibernate5.HibernateOperations.findByValueBean(String, Object) as of 5.0.4, in favor of a custom `HibernateCallback` lambda code block passed to the general `HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)` method
  org.springframework.orm.hibernate5.HibernateTemplate.findByValueBean(String, Object)
  org.springframework.core.MethodParameter.forMethodOrConstructor(Object, int) as of 5.0, in favor of `MethodParameter.forExecutable(java.lang.reflect.Executable, int)`
  org.springframework.web.reactive.function.client.ClientResponse.from(ClientResponse) as of 5.3 in favor of the instance based `ClientResponse.mutate()`.
  org.springframework.web.reactive.function.BodyInserters.fromObject(T) As of Spring Framework 5.2, in favor of `BodyInserters.fromValue(Object)`
  org.springframework.core.annotation.AnnotationUtils.getAnnotations(AnnotatedElement) as of 5.2 since it is superseded by the `MergedAnnotations` API
  org.springframework.core.annotation.AnnotationUtils.getAnnotations(Method) as of 5.2 since it is superseded by the `MergedAnnotations` API
  org.apache.commons.logging.LogFactory.getAttribute(String)
  org.apache.commons.logging.LogFactory.getAttributeNames()
  org.springframework.beans.factory.support.AbstractBeanDefinitionReader.getBeanFactory() as of Spring Framework 5.3.15 in favor of `AbstractBeanDefinitionReader.getRegistry()`, to be removed in Spring Framework 6.0
  org.springframework.web.servlet.resource.ResourceHttpRequestHandler.getContentNegotiationManager() as of 5.2.4
  org.springframework.transaction.reactive.TransactionContext.getContextId()
  org.springframework.http.ContentDisposition.getCreationDate() since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.
  org.springframework.core.annotation.AnnotationUtils.getDeclaredRepeatableAnnotations(AnnotatedElement, Class<A>) as of 5.2 since it is superseded by the `MergedAnnotations` API
  org.springframework.core.annotation.AnnotationUtils.getDeclaredRepeatableAnnotations(AnnotatedElement, Class<A>, Class<? extends Annotation>) as of 5.2 since it is superseded by the `MergedAnnotations` API
  org.springframework.mock.web.MockPageContext.getExpressionEvaluator()
  org.apache.commons.logging.LogFactory.getFactory() in favor of `LogFactory.getLog(Class)`/`LogFactory.getLog(String)`
  org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration.getFileExtensions() as of 5.2.4. See class-level note in `RequestMappingHandlerMapping` on the deprecation of path extension config options.
  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.getFileExtensions() as of 5.2.4. See class-level note on the deprecation of path extension config options.
  org.springframework.web.reactive.socket.server.upgrade.ReactorNettyRequestUpgradeStrategy.getHandlePing() as of 5.2.6 in favor of `ReactorNettyRequestUpgradeStrategy.getWebsocketServerSpec()`
  org.springframework.web.reactive.socket.client.ReactorNettyWebSocketClient.getHandlePing() as of 5.3 in favor of `ReactorNettyWebSocketClient.getWebsocketClientSpec()`
  org.springframework.web.server.ResponseStatusException.getHeaders() as of 5.1.13 in favor of `ResponseStatusException.getResponseHeaders()`
  org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.getHttpAsyncClient() as of 4.3.10, in favor of `HttpComponentsAsyncClientHttpRequestFactory.getAsyncClient()`
  org.springframework.web.client.DefaultResponseErrorHandler.getHttpStatusCode(ClientHttpResponse) as of 5.0, in favor of `DefaultResponseErrorHandler.handleError(ClientHttpResponse, HttpStatus)`
  org.apache.commons.logging.LogFactory.getInstance(Class<?>) in favor of `LogFactory.getLog(Class)`
  org.apache.commons.logging.LogFactory.getInstance(String) in favor of `LogFactory.getLog(String)`
  org.springframework.util.ClassUtils.getInterfaceMethodIfPossible(Method) in favor of `ClassUtils.getInterfaceMethodIfPossible(Method, Class)`
  org.springframework.web.servlet.HandlerAdapter.getLastModified(HttpServletRequest, Object) as of 5.3.9 along with `LastModified`.
  org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.getLastModifiedInternal(HttpServletRequest, HandlerMethod) as of 5.3.9 along with `LastModified`.
  org.springframework.expression.spel.support.ReflectivePropertyAccessor.getLastReadInvokerPair() as of 4.3.15 since it is not used within the framework anymore
  org.springframework.web.util.UrlPathHelper.getLookupPathForRequest(HttpServletRequest, String) as of 5.3 in favor of using `UrlPathHelper.resolveAndCacheLookupPath(HttpServletRequest)` and `UrlPathHelper.getResolvedLookupPath(ServletRequest)`.
  org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getMappingPathPatterns(T) as of 5.3 in favor of providing non-pattern mappings via `AbstractHandlerMethodMapping.getDirectPaths(Object)` instead
  org.springframework.web.reactive.socket.server.upgrade.ReactorNettyRequestUpgradeStrategy.getMaxFramePayloadLength() as of 5.2.6 in favor of `ReactorNettyRequestUpgradeStrategy.getWebsocketServerSpec()`
  org.springframework.web.reactive.socket.client.ReactorNettyWebSocketClient.getMaxFramePayloadLength() as of 5.3 in favor of `ReactorNettyWebSocketClient.getWebsocketClientSpec()`
  org.springframework.http.ContentDisposition.getModificationDate() since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.
  org.springframework.transaction.reactive.TransactionContext.getName()
  org.springframework.http.ContentDisposition.getReadDate() since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.
  org.springframework.mock.web.MockHttpServletRequest.getRealPath(String)
  org.springframework.core.annotation.AnnotationUtils.getRepeatableAnnotations(AnnotatedElement, Class<A>) as of 5.2 since it is superseded by the `MergedAnnotations` API
  org.springframework.core.annotation.AnnotationUtils.getRepeatableAnnotations(AnnotatedElement, Class<A>, Class<? extends Annotation>) as of 5.2 since it is superseded by the `MergedAnnotations` API
  org.springframework.mock.web.MockServletContext.getServlet(String)
  org.springframework.mock.web.MockServletContext.getServletNames()
  org.springframework.mock.web.MockServletContext.getServlets()
  org.springframework.jdbc.core.metadata.TableMetaDataContext.getSimulationQueryForGetGeneratedKey(String, String) as of 4.3.15, in favor of `TableMetaDataContext.getSimpleQueryForGetGeneratedKey(java.lang.String, java.lang.String)`
  org.springframework.http.ContentDisposition.getSize() since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.
  org.springframework.web.util.ContentCachingResponseWrapper.getStatusCode() as of 5.2 in favor of `HttpServletResponse.getStatus()`
  org.springframework.http.server.reactive.AbstractServerHttpResponse.getStatusCodeValue() as of 5.2.4 in favor of `ServerHttpResponse.getRawStatusCode()`.
  org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(String, RootBeanDefinition) since 5.2 in favor of `AbstractBeanFactory.getTypeForFactoryBean(String, RootBeanDefinition, boolean)`
  org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(String, RootBeanDefinition)
  org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration.getUrlPathHelper() as of 5.3, the path is resolved externally and obtained with `ServletRequestPathUtils.getCachedPathValue(ServletRequest)`; this method always returns `UrlPathHelper.defaultInstance`.
  org.springframework.mock.web.MockPageContext.getVariableResolver()
  org.springframework.util.ObjectUtils.hashCode(boolean) as of Spring Framework 5.0, in favor of the native JDK 8 variant
  org.springframework.util.ObjectUtils.hashCode(double) as of Spring Framework 5.0, in favor of the native JDK 8 variant
  org.springframework.util.ObjectUtils.hashCode(float) as of Spring Framework 5.0, in favor of the native JDK 8 variant
  org.springframework.util.ObjectUtils.hashCode(long) as of Spring Framework 5.0, in favor of the native JDK 8 variant
  org.springframework.util.Assert.hasLength(String) as of 4.3.7, in favor of `Assert.hasLength(String, String)`
  org.springframework.util.Assert.hasText(String) as of 4.3.7, in favor of `Assert.hasText(String, String)`
  org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer.ignoreUnknownPathExtensions(boolean) as of 5.2.4. See deprecation note on `ContentNegotiationManagerFactoryBean.setIgnoreUnknownPathExtensions(boolean)`.
  org.springframework.core.MethodParameter.increaseNestingLevel() since 5.2 in favor of `MethodParameter.nested(Integer)`
  org.springframework.web.bind.support.WebBindingInitializer.initBinder(WebDataBinder, WebRequest) as of 5.0 in favor of `WebBindingInitializer.initBinder(WebDataBinder)`
  org.springframework.web.servlet.resource.ResourceHttpRequestHandler.initContentNegotiationStrategy() as of 5.2.4 this method returns `null`, and if a subclass returns an actual instance, the instance is used only as a source of media type mappings, if it contains any. Please, use `ResourceHttpRequestHandler.setMediaTypes(Map)` instead, or if you need to change behavior, you can override `ResourceHttpRequestHandler.getMediaType(HttpServletRequest, Resource)`.
  org.springframework.beans.BeanUtils.instantiate(Class<T>) as of Spring 5.0, following the deprecation of `Class.newInstance()` in JDK 9
  org.springframework.web.servlet.support.WebContentGenerator.isAlwaysMustRevalidate() as of 4.2, in favor of `WebContentGenerator.getCacheControl()`
  org.springframework.core.annotation.AnnotationUtils.isAnnotationInherited(Class<? extends Annotation>, Class<?>) as of 5.2 since it is superseded by the `MergedAnnotations` API
  org.springframework.core.annotation.AnnotationUtils.isAnnotationMetaPresent(Class<? extends Annotation>, Class<? extends Annotation>) as of 5.2 since it is superseded by the `MergedAnnotations` API
  org.springframework.util.ClassUtils.isCglibProxy(Object) as of 5.2, in favor of custom (possibly narrower) checks such as for a Spring AOP proxy
  org.springframework.util.ClassUtils.isCglibProxyClass(Class<?>) as of 5.2, in favor of custom (possibly narrower) checks or simply a check for containing `ClassUtils.CGLIB_CLASS_SEPARATOR`
  org.springframework.util.ClassUtils.isCglibProxyClassName(String) as of 5.2, in favor of custom (possibly narrower) checks or simply a check for containing `ClassUtils.CGLIB_CLASS_SEPARATOR`
  org.springframework.test.web.servlet.result.StatusResultMatchers.isDestinationLocked() matching the deprecation of `HttpStatus.DESTINATION_LOCKED`
  org.springframework.util.StringUtils.isEmpty(Object) as of 5.3, in favor of `StringUtils.hasLength(String)` and `StringUtils.hasText(String)` (or `ObjectUtils.isEmpty(Object)`)
  org.springframework.context.support.AbstractResourceBasedMessageSource.isFallbackToSystemLocale() as of 5.2.2, in favor of `AbstractResourceBasedMessageSource.getDefaultLocale()`
  org.springframework.test.web.servlet.result.StatusResultMatchers.isInsufficientSpaceOnResource() matching the deprecation of `HttpStatus.INSUFFICIENT_SPACE_ON_RESOURCE`
  org.springframework.web.servlet.i18n.LocaleChangeInterceptor.isLanguageTagCompliant() as of 5.1 since it always returns `true` now
  org.springframework.test.web.servlet.result.StatusResultMatchers.isMethodFailure() matching the deprecation of `HttpStatus.METHOD_FAILURE`
  org.springframework.test.web.servlet.result.StatusResultMatchers.isMovedTemporarily() in favor of `StatusResultMatchers.isFound()`
  org.springframework.util.Assert.isNull(Object) as of 4.3.7, in favor of `Assert.isNull(Object, String)`
  org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.isRemoveOnCancelPolicy() as of 5.3.9, in favor of direct `ThreadPoolTaskScheduler.getScheduledThreadPoolExecutor()` access
  org.springframework.mock.web.MockHttpServletRequest.isRequestedSessionIdFromUrl()
  org.springframework.test.web.servlet.result.StatusResultMatchers.isRequestEntityTooLarge() matching the deprecation of `HttpStatus.REQUEST_ENTITY_TOO_LARGE`
  org.springframework.test.web.servlet.result.StatusResultMatchers.isRequestUriTooLong() matching the deprecation of `HttpStatus.REQUEST_URI_TOO_LONG`
  org.springframework.web.cors.reactive.CorsUtils.isSameOrigin(ServerHttpRequest) as of 5.2, same-origin checks are performed directly by `CorsUtils.isCorsRequest(org.springframework.http.server.reactive.ServerHttpRequest)`
  org.springframework.util.Assert.isTrue(boolean) as of 4.3.7, in favor of `Assert.isTrue(boolean, String)`
  org.springframework.web.servlet.support.WebContentGenerator.isUseCacheControlHeader() as of 4.2, in favor of `WebContentGenerator.getCacheControl()`
  org.springframework.web.servlet.support.WebContentGenerator.isUseCacheControlNoStore() as of 4.2, in favor of `WebContentGenerator.getCacheControl()`
  org.springframework.web.servlet.support.WebContentGenerator.isUseExpiresHeader() as of 4.2, in favor of `WebContentGenerator.getCacheControl()`
  org.springframework.test.web.servlet.result.StatusResultMatchers.isUseProxy() matching the deprecation of `HttpStatus.USE_PROXY`
  org.springframework.web.servlet.config.annotation.PathMatchConfigurer.isUseRegisteredSuffixPatternMatch() as of 5.2.4, see deprecation note on `PathMatchConfigurer.setUseRegisteredSuffixPatternMatch(Boolean)`.
  org.springframework.web.servlet.config.annotation.PathMatchConfigurer.isUseSuffixPatternMatch() as of 5.2.4, see deprecation note on `PathMatchConfigurer.setUseSuffixPatternMatch(Boolean)`.
  org.springframework.web.servlet.config.annotation.PathMatchConfigurer.isUseTrailingSlashMatch()
  org.springframework.orm.hibernate5.HibernateOperations.iterate(String, Object...) as of 5.0.4, in favor of a custom `HibernateCallback` lambda code block passed to the general `HibernateOperations.execute(org.springframework.orm.hibernate5.HibernateCallback<T>)` method
  org.springframework.orm.hibernate5.HibernateTemplate.iterate(String, Object...)
  org.springframework.mock.web.MockServletContext.log(Exception, String)
  org.springframework.test.web.servlet.ResultMatcher.matchAll(ResultMatcher...) as of Spring Framework 5.3.10, in favor of `ResultActions.andExpectAll(ResultMatcher...)`
  org.springframework.web.servlet.handler.MappedInterceptor.matches(String, PathMatcher) as of 5.3 in favor of `MappedInterceptor.matches(HttpServletRequest)`
  org.springframework.util.StringUtils.mergeStringArrays(String[], String[]) as of 4.3.15, in favor of manual merging via `LinkedHashSet` (with every entry included at most once, even entries within the first array)
  org.springframework.web.reactive.function.client.ClientRequest.method(HttpMethod, URI) in favor of `ClientRequest.create(HttpMethod, URI)`
  org.springframework.http.ContentDisposition.Builder.modificationDate(ZonedDateTime) since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.
  org.springframework.asm.ClassWriter.newHandle(int, String, String, String) this method is superseded by `ClassWriter.newHandle(int, String, String, String, boolean)`.
  org.springframework.util.Assert.noNullElements(Object[]) as of 4.3.7, in favor of `Assert.noNullElements(Object[], String)`
  org.springframework.util.Assert.notEmpty(Collection<?>) as of 4.3.7, in favor of `Assert.notEmpty(Collection, String)`
  org.springframework.util.Assert.notEmpty(Map<?, ?>) as of 4.3.7, in favor of `Assert.notEmpty(Map, String)`
  org.springframework.util.Assert.notEmpty(Object[]) as of 4.3.7, in favor of `Assert.notEmpty(Object[], String)`
  org.springframework.util.Assert.notNull(Object) as of 4.3.7, in favor of `Assert.notNull(Object, String)`
  org.apache.commons.logging.LogFactory.objectId(Object)
  org.springframework.orm.hibernate5.support.OpenSessionInterceptor.openSession() as of 5.0, in favor of `OpenSessionInterceptor.openSession(SessionFactory)`
  org.springframework.web.reactive.function.server.ServerRequest.pathContainer() as of 5.3, in favor on `ServerRequest.requestPath()`
  org.springframework.web.reactive.function.server.support.ServerRequestWrapper.pathContainer()
  org.springframework.web.servlet.function.ServerRequest.pathContainer() as of 5.3, in favor on `ServerRequest.requestPath()`
  org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor.postProcessPropertyValues(PropertyValues, PropertyDescriptor[], Object, String) as of 5.1, in favor of `InstantiationAwareBeanPostProcessor.postProcessProperties(PropertyValues, Object, String)`
  org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(PropertyValues, PropertyDescriptor[], Object, String)
  org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(PropertyValues, PropertyDescriptor[], Object, String)
  org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PropertyValues, PropertyDescriptor[], Object, String)
  org.springframework.r2dbc.connection.R2dbcTransactionManager.prepareTransactionalConnection(Connection, TransactionDefinition, Object) in favor of `R2dbcTransactionManager.prepareTransactionalConnection(Connection, TransactionDefinition)` since this variant gets called too early (before transaction begin) for read-only customization
  org.springframework.web.servlet.support.WebContentGenerator.preventCaching(HttpServletResponse) as of 4.2, in favor of `WebContentGenerator.applyCacheControl(javax.servlet.http.HttpServletResponse, org.springframework.http.CacheControl)`
  org.springframework.context.support.PropertySourcesPlaceholderConfigurer.processProperties(ConfigurableListableBeanFactory, Properties) in favor of `PropertySourcesPlaceholderConfigurer.processProperties(ConfigurableListableBeanFactory, ConfigurablePropertyResolver)`
  org.springframework.jdbc.core.JdbcOperations.query(String, Object[], ResultSetExtractor<T>) as of 5.3, in favor of `JdbcOperations.query(String, ResultSetExtractor, Object...)`
  org.springframework.jdbc.core.JdbcTemplate.query(String, Object[], ResultSetExtractor<T>)
  org.springframework.jdbc.core.JdbcOperations.query(String, Object[], RowCallbackHandler) as of 5.3, in favor of `JdbcOperations.query(String, RowCallbackHandler, Object...)`
  org.springframework.jdbc.core.JdbcTemplate.query(String, Object[], RowCallbackHandler)
  org.springframework.jdbc.core.JdbcOperations.query(String, Object[], RowMapper<T>) as of 5.3, in favor of `JdbcOperations.query(String, RowMapper, Object...)`
  org.springframework.jdbc.core.JdbcTemplate.query(String, Object[], RowMapper<T>)
  org.springframework.jdbc.core.JdbcOperations.queryForList(String, Object[], Class<T>) as of 5.3, in favor of `JdbcOperations.queryForList(String, Class, Object...)`
  org.springframework.jdbc.core.JdbcTemplate.queryForList(String, Object[], Class<T>)
  org.springframework.jdbc.core.JdbcOperations.queryForObject(String, Object[], Class<T>) as of 5.3, in favor of `JdbcOperations.queryForObject(String, Class, Object...)`
  org.springframework.jdbc.core.JdbcTemplate.queryForObject(String, Object[], Class<T>)
  org.springframework.jdbc.core.JdbcOperations.queryForObject(String, Object[], RowMapper<T>) as of 5.3, in favor of `JdbcOperations.queryForObject(String, RowMapper, Object...)`
  org.springframework.jdbc.core.JdbcTemplate.queryForObject(String, Object[], RowMapper<T>)
  org.springframework.http.ContentDisposition.Builder.readDate(ZonedDateTime) since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.
  org.springframework.http.codec.CodecConfigurer.CustomCodecs.reader(HttpMessageReader<?>) as of 5.1.13, use `CodecConfigurer.CustomCodecs.register(Object)` or `CodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)` instead.
  org.springframework.web.socket.WebSocketHttpHeaders.readOnlyWebSocketHttpHeaders(WebSocketHttpHeaders) as of 5.1.16, in favor of calling `WebSocketHttpHeaders(HttpHeaders)` with a read-only wrapper from `HttpHeaders.readOnlyHttpHeaders(HttpHeaders)`
  org.springframework.jdbc.datasource.init.ScriptUtils.readScript(LineNumberReader, String[], String, String) as of Spring Framework 5.2.16 with no plans for replacement. This is an internal API and will likely be removed in Spring Framework 6.0.
  org.springframework.jdbc.datasource.init.ScriptUtils.readScript(LineNumberReader, String, String, String) as of Spring Framework 5.2.16 with no plans for replacement. This is an internal API and will likely be removed in Spring Framework 6.0.
  org.apache.commons.logging.LogFactory.release()
  org.apache.commons.logging.LogFactory.release(ClassLoader)
  org.apache.commons.logging.LogFactory.releaseAll()
  org.apache.commons.logging.LogFactory.removeAttribute(String)
  org.springframework.jdbc.datasource.DataSourceUtils.resetConnectionAfterTransaction(Connection, Integer) as of 5.1.11, in favor of `DataSourceUtils.resetConnectionAfterTransaction(Connection, Integer, boolean)`
  org.springframework.web.reactive.result.view.AbstractView.resolveAsyncAttributes(Map<String, Object>) as of 5.1.8 this method is still invoked but it is a no-op. Please use `AbstractView.resolveAsyncAttributes(Map, ServerWebExchange)` instead. It is invoked after this one and does the actual work.
  org.springframework.beans.factory.config.DependencyDescriptor.resolveNotUnique(Class<?>, Map<String, Object>) as of 5.1, in favor of `DependencyDescriptor.resolveNotUnique(ResolvableType, Map)`
  org.springframework.core.GenericTypeResolver.resolveParameterType(MethodParameter, Class<?>) since 5.2 in favor of `methodParameter.withContainingClass(implementationClass).getParameterType()`
  org.springframework.scheduling.config.ScheduledTaskRegistrar.scheduleFixedDelayTask(IntervalTask) as of 5.0.2, in favor of `ScheduledTaskRegistrar.scheduleFixedDelayTask(FixedDelayTask)`
  org.springframework.scheduling.config.ScheduledTaskRegistrar.scheduleFixedRateTask(IntervalTask) as of 5.0.2, in favor of `ScheduledTaskRegistrar.scheduleFixedRateTask(FixedRateTask)`
  org.springframework.mock.web.reactive.function.server.MockServerRequest.Builder.session(Principal) in favor of `MockServerRequest.Builder.principal(Principal)`
  org.springframework.orm.hibernate5.HibernateTransactionManager.setAllowResultAccessAfterCompletion(boolean) as of 5.3.29 since Hibernate 5.x aggressively closes ResultSets on commit, making it impossible to rely on ResultSet holdability. Also, Spring does not provide an equivalent setting on `JpaTransactionManager`.
  org.springframework.web.servlet.support.WebContentGenerator.setAlwaysMustRevalidate(boolean) as of 4.2, in favor of `WebContentGenerator.setCacheControl(org.springframework.http.CacheControl)`
  org.springframework.web.cors.UrlBasedCorsConfigurationSource.setAlwaysUseFullPath(boolean) as of 5.3 in favor of using `UrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper)`, if at all. For further details, please see `UrlBasedCorsConfigurationSource.setAllowInitLookupPath(boolean)`.
  org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator.setAlwaysUseFullPath(boolean) as of 5.3, the path is resolved externally and obtained with `ServletRequestPathUtils.getCachedPathValue(ServletRequest)`
  org.springframework.web.servlet.mvc.WebContentInterceptor.setAlwaysUseFullPath(boolean) as of 5.3, the path is resolved externally and obtained with `ServletRequestPathUtils.getCachedPathValue(ServletRequest)`
  org.apache.commons.logging.LogFactory.setAttribute(String, Object)
  org.springframework.web.servlet.resource.ResourceHttpRequestHandler.setContentNegotiationManager(ContentNegotiationManager) as of 5.2.4 in favor of using `ResourceHttpRequestHandler.setMediaTypes(Map)` with mappings possibly obtained from `ContentNegotiationManager.getMediaTypeMappings()`.
  org.springframework.cglib.core.KeyFactory.Generator.setCustomizer(Customizer) Use `KeyFactory.Generator.addCustomizer(KeyFactoryCustomizer)` instead.
  org.springframework.web.accept.ContentNegotiationManagerFactoryBean.setFavorPathExtension(boolean) as of 5.2.4. See class-level note on the deprecation of path extension config options. As there is no replacement for this method, in 5.2.x it is necessary to set it to `false`. In 5.3 the default changes to `false` and use of this property becomes unnecessary.
  org.springframework.web.reactive.socket.server.upgrade.ReactorNettyRequestUpgradeStrategy.setHandlePing(boolean) as of 5.2.6 in favor of providing a supplier of `WebsocketServerSpec.Builder` with a constructor argument
  org.springframework.web.reactive.socket.client.ReactorNettyWebSocketClient.setHandlePing(boolean) as of 5.3 in favor of providing a supplier of `WebsocketClientSpec.Builder` with a constructor argument
  org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.setHttpAsyncClient(CloseableHttpAsyncClient) as of 4.3.10, in favor of `HttpComponentsAsyncClientHttpRequestFactory.setAsyncClient(HttpAsyncClient)`
  org.springframework.web.accept.ContentNegotiationManagerFactoryBean.setIgnoreUnknownPathExtensions(boolean) as of 5.2.4. See class-level note on the deprecation of path extension config options.
  org.springframework.messaging.simp.config.ChannelRegistration.setInterceptors(ChannelInterceptor...) as of 4.3.12, in favor of `ChannelRegistration.interceptors(ChannelInterceptor...)`
  org.springframework.web.servlet.i18n.LocaleChangeInterceptor.setLanguageTagCompliant(boolean) as of 5.1 since it only accepts `true` now
  org.springframework.web.cors.UrlBasedCorsConfigurationSource.setLookupPathAttributeName(String) as of 5.3 in favor of `UrlPathHelper.PATH_ATTRIBUTE`.
  org.springframework.web.reactive.socket.client.ReactorNettyWebSocketClient.setMaxFramePayloadLength(int) as of 5.3 in favor of providing a supplier of `WebsocketClientSpec.Builder` with a constructor argument
  org.springframework.web.reactive.socket.server.upgrade.ReactorNettyRequestUpgradeStrategy.setMaxFramePayloadLength(Integer) as of 5.2.6 in favor of providing a supplier of `WebsocketServerSpec.Builder` with a constructor argument
  org.springframework.messaging.simp.user.DefaultUserDestinationResolver.setPathMatcher(PathMatcher) as of 4.3.14 this property is no longer used and is replaced by `DefaultUserDestinationResolver.setRemoveLeadingSlash(boolean)` that indicates more explicitly whether to keep the leading slash which may or may not be the case regardless of how the `PathMatcher` is configured.
  org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration.setRegisteredSuffixPatternMatch(boolean) as of 5.2.4. See class-level note in `RequestMappingHandlerMapping` on the deprecation of path extension config options.
  org.springframework.web.cors.UrlBasedCorsConfigurationSource.setRemoveSemicolonContent(boolean) as of 5.3 in favor of using `UrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper)`, if at all. For further details, please see `UrlBasedCorsConfigurationSource.setAllowInitLookupPath(boolean)`.
  org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator.setRemoveSemicolonContent(boolean) as of 5.3, the path is resolved externally and obtained with `ServletRequestPathUtils.getCachedPathValue(ServletRequest)`
  org.springframework.mock.web.MockHttpServletResponse.setStatus(int, String)
  org.springframework.http.server.reactive.AbstractServerHttpResponse.setStatusCodeValue(Integer) as of 5.2.4 in favor of `ServerHttpResponse.setRawStatusCode(Integer)`.
  org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration.setSuffixPatternMatch(boolean) as of 5.2.4. See deprecation note on `RequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean)`.
  org.springframework.web.socket.config.annotation.SockJsServiceRegistration.setSupressCors(boolean) as of 5.3.23, in favor of `SockJsServiceRegistration.setSuppressCors(boolean)`
  org.springframework.core.MethodParameter.setTypeIndexForCurrentLevel(int) since 5.2 in favor of `MethodParameter.withTypeIndex(int)`
  org.springframework.web.cors.UrlBasedCorsConfigurationSource.setUrlDecode(boolean) as of 5.3 in favor of using `UrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper)`, if at all. For further details, please see `UrlBasedCorsConfigurationSource.setAllowInitLookupPath(boolean)`.
  org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator.setUrlDecode(boolean) as of 5.3, the path is resolved externally and obtained with `ServletRequestPathUtils.getCachedPathValue(ServletRequest)`
  org.springframework.web.servlet.mvc.WebContentInterceptor.setUrlDecode(boolean) as of 5.3, the path is resolved externally and obtained with `ServletRequestPathUtils.getCachedPathValue(ServletRequest)`
  org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator.setUrlPathHelper(UrlPathHelper) as of 5.3, the path is resolved externally and obtained with `ServletRequestPathUtils.getCachedPathValue(ServletRequest)`
  org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration.setUrlPathHelper(UrlPathHelper) as of 5.3, the path is resolved externally and obtained with `ServletRequestPathUtils.getCachedPathValue(ServletRequest)`
  org.springframework.web.servlet.mvc.WebContentInterceptor.setUrlPathHelper(UrlPathHelper) as of 5.3, the path is resolved externally and obtained with `ServletRequestPathUtils.getCachedPathValue(ServletRequest)`
  org.springframework.web.servlet.support.WebContentGenerator.setUseCacheControlHeader(boolean) as of 4.2, since going forward, the HTTP 1.1 cache-control header will be required, with the HTTP 1.0 headers disappearing
  org.springframework.web.servlet.support.WebContentGenerator.setUseCacheControlNoStore(boolean) as of 4.2, in favor of `WebContentGenerator.setCacheControl(org.springframework.http.CacheControl)`
  org.springframework.web.servlet.support.WebContentGenerator.setUseExpiresHeader(boolean) as of 4.2, since going forward, the HTTP 1.1 cache-control header will be required, with the HTTP 1.0 headers disappearing
  org.springframework.web.accept.PathExtensionContentNegotiationStrategy.setUseJaf(boolean) as of 5.0, in favor of `AbstractMappingContentNegotiationStrategy.setUseRegisteredExtensionsOnly(boolean)`.
  org.springframework.web.accept.ContentNegotiationManagerFactoryBean.setUseJaf(boolean) as of 5.0, in favor of `ContentNegotiationManagerFactoryBean.setUseRegisteredExtensionsOnly(boolean)`, which has reverse behavior.
  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.setUseRegisteredSuffixPatternMatch(boolean) as of 5.2.4. See class level note on the deprecation of path extension config options.
  org.springframework.web.servlet.config.annotation.PathMatchConfigurer.setUseRegisteredSuffixPatternMatch(Boolean) as of 5.2.4. See class-level note in `RequestMappingHandlerMapping` on the deprecation of path extension config options.
  org.springframework.test.web.servlet.setup.StandaloneMockMvcBuilder.setUseSuffixPatternMatch(boolean) as of 5.2.4. See class-level note in `RequestMappingHandlerMapping` on the deprecation of path extension config options.
  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean) as of 5.2.4. See class level note on the deprecation of path extension config options. As there is no replacement for this method, in 5.2.x it is necessary to set it to `false`. In 5.3 the default changes to `false` and use of this property becomes unnecessary.
  org.springframework.web.servlet.config.annotation.PathMatchConfigurer.setUseSuffixPatternMatch(Boolean) as of 5.2.4. See class-level note in `RequestMappingHandlerMapping` on the deprecation of path extension config options. As there is no replacement for this method, in 5.2.x it is necessary to set it to `false`. In 5.3 the default changes to `false` and use of this property becomes unnecessary.
  org.springframework.jdbc.support.DatabaseStartupValidator.setValidationQuery(String) as of 5.3, in favor of the JDBC 4.0 connection validation
  org.springframework.http.ContentDisposition.Builder.size(Long) since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.
  org.springframework.jdbc.datasource.init.ScriptUtils.splitSqlScript(EncodedResource, String, String, String[], String, String, List<String>) as of Spring Framework 5.2.16 with no plans for replacement. This is an internal API and will likely be removed in Spring Framework 6.0.
  org.springframework.jdbc.datasource.init.ScriptUtils.splitSqlScript(EncodedResource, String, String, String, String, String, List<String>) as of Spring Framework 5.2.16 with no plans for replacement. This is an internal API and will likely be removed in Spring Framework 6.0.
  org.springframework.jdbc.datasource.init.ScriptUtils.splitSqlScript(String, char, List<String>) as of Spring Framework 5.2.16 with no plans for replacement. This is an internal API and will likely be removed in Spring Framework 6.0.
  org.springframework.jdbc.datasource.init.ScriptUtils.splitSqlScript(String, String, List<String>) as of Spring Framework 5.2.16 with no plans for replacement. This is an internal API and will likely be removed in Spring Framework 6.0.
  org.springframework.jdbc.SQLWarningException.SQLWarning() as of 5.3.29, in favor of `SQLWarningException.getSQLWarning()`
  org.springframework.util.Assert.state(boolean) as of 4.3.7, in favor of `Assert.state(boolean, String)`
  org.springframework.test.web.reactive.server.WebTestClient.RequestBodySpec.syncBody(Object) as of Spring Framework 5.2 in favor of `WebTestClient.RequestBodySpec.bodyValue(Object)`
  org.springframework.web.reactive.function.server.ServerResponse.BodyBuilder.syncBody(Object) as of Spring Framework 5.2 in favor of `ServerResponse.BodyBuilder.bodyValue(Object)`
  org.springframework.web.reactive.function.client.WebClient.RequestBodySpec.syncBody(Object) as of Spring Framework 5.2 in favor of `WebClient.RequestBodySpec.bodyValue(Object)`
  org.springframework.core.codec.StringDecoder.textPlainOnly(boolean) as of Spring 5.0.4, in favor of `StringDecoder.textPlainOnly()` or `StringDecoder.textPlainOnly(List, boolean)`
  org.springframework.util.StringUtils.toLanguageTag(Locale) as of 5.0.4, in favor of `Locale.toLanguageTag()`
  org.springframework.test.web.client.AbstractRequestExpectationManager.RequestExpectationGroup.updateAll(Collection<RequestExpectation>) as of 5.0.3, if favor of `AbstractRequestExpectationManager.RequestExpectationGroup.addAllExpectations(java.util.Collection<org.springframework.test.web.client.RequestExpectation>)`
  org.springframework.web.reactive.socket.server.RequestUpgradeStrategy.upgrade(ServerWebExchange, WebSocketHandler, String) as of 5.1 in favor of `RequestUpgradeStrategy.upgrade(ServerWebExchange, WebSocketHandler, String, Supplier)`
  org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer.useJaf(boolean) as of 5.0, in favor of `ContentNegotiationConfigurer.useRegisteredExtensionsOnly(boolean)` which has reverse behavior
  org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration.useRegisteredSuffixPatternMatch() as of 5.2.4. See class-level note in `RequestMappingHandlerMapping` on the deprecation of path extension config options.
  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.useRegisteredSuffixPatternMatch() as of 5.2.4. See deprecation notice on `RequestMappingHandlerMapping.setUseRegisteredSuffixPatternMatch(boolean)`.
  org.springframework.web.servlet.mvc.method.RequestMappingInfo.BuilderConfiguration.useSuffixPatternMatch() as of 5.2.4. See deprecation note on `RequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean)`.
  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.useSuffixPatternMatch() as of 5.2.4. See deprecation notice on `RequestMappingHandlerMapping.setUseSuffixPatternMatch(boolean)`.
  org.springframework.test.web.client.AbstractRequestExpectationManager.validateRequestInternal(ClientHttpRequest) as of 5.0.3, subclasses should implement `AbstractRequestExpectationManager.matchRequest(ClientHttpRequest)` instead and return only the matched expectation, leaving the call to create the response as a separate step (to be invoked by this class).
  org.springframework.http.HttpStatus.Series.valueOf(HttpStatus) as of 5.3, in favor of invoking `HttpStatus.series()` directly
  org.springframework.asm.MethodVisitor.visitMethodInsn(int, String, String, String) use `MethodVisitor.visitMethodInsn(int, String, String, String, boolean)` instead.
  org.springframework.http.codec.CodecConfigurer.CustomCodecs.withDefaultCodecConfig(Consumer<CodecConfigurer.DefaultCodecConfig>) as of 5.1.13, use `CodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)` or `CodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object, Consumer)` instead.
  org.springframework.http.codec.CodecConfigurer.CustomCodecs.writer(HttpMessageWriter<?>) as of 5.1.13, use `CodecConfigurer.CustomCodecs.register(Object)` or `CodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)` instead.
  org.springframework.http.server.reactive.AbstractListenerWriteProcessor.writingPaused() originally introduced for Undertow to stop write notifications when no data is available, but deprecated as of 5.0.6 since constant switching on every requested item causes a significant slowdown.

- Deprecated Constructors
  Constructor and Description
  org.springframework.web.reactive.socket.adapter.AbstractListenerWebSocketSession(T, String, HandshakeInfo, DataBufferFactory, MonoProcessor<Void>) as of 5.3 in favor of `AbstractListenerWebSocketSession(Object, String, HandshakeInfo, DataBufferFactory, Sinks.Empty)`
  org.springframework.jdbc.core.metadata.CallParameterMetaData(String, int, int, String, boolean)
  org.springframework.core.io.ClassPathResource(String, ClassLoader, Class<?>) as of 4.3.13, in favor of selective use of `ClassPathResource(String, ClassLoader)` vs `ClassPathResource(String, Class)`
  org.springframework.scheduling.support.CronSequenceGenerator(String) as of 5.3, in favor of `CronExpression.parse(String)`
  org.springframework.scheduling.support.CronSequenceGenerator(String, TimeZone) as of 5.3, in favor of `CronExpression.parse(String)`
  org.springframework.web.server.handler.DefaultWebFilterChain(WebHandler, WebFilter...) as of 5.1 this constructor is deprecated in favor of `DefaultWebFilterChain(WebHandler, List)`.
  org.springframework.asm.Handle(int, String, String, String) this constructor has been superseded by `Handle(int, String, String, String, boolean)`.
  org.springframework.web.servlet.handler.HandlerMappingIntrospector(ApplicationContext) as of 4.3.12, in favor of `HandlerMappingIntrospector.setApplicationContext(org.springframework.context.ApplicationContext)`
  org.springframework.web.reactive.socket.HandshakeInfo(URI, HttpHeaders, Mono<Principal>, String, InetSocketAddress, Map<String, Object>, String) as of 5.3.5 in favor of `HandshakeInfo(URI, HttpHeaders, MultiValueMap, Mono, String, InetSocketAddress, Map, String)`
  org.springframework.http.converter.HttpMessageNotReadableException(String) as of 5.1, in favor of `HttpMessageNotReadableException(String, HttpInputMessage)`
  org.springframework.http.converter.HttpMessageNotReadableException(String, Throwable) as of 5.1, in favor of `HttpMessageNotReadableException(String, Throwable, HttpInputMessage)`
  org.springframework.http.client.reactive.JettyClientHttpConnector(JettyResourceFactory, Consumer<HttpClient>) as of 5.2, in favor of `JettyClientHttpConnector(HttpClient, JettyResourceFactory)`
  org.springframework.web.reactive.socket.adapter.JettyWebSocketSession(Session, HandshakeInfo, DataBufferFactory, MonoProcessor<Void>)
  org.springframework.expression.spel.ast.OperatorMatches(int, int, SpelNodeImpl...) as of Spring Framework 5.2.23 in favor of invoking `OperatorMatches(ConcurrentMap, int, int, SpelNodeImpl...)` with a shared pattern cache instead
  org.springframework.web.servlet.mvc.condition.PatternsRequestCondition(String[], UrlPathHelper, PathMatcher, boolean) as of 5.3 in favor of `PatternsRequestCondition(String[], boolean, PathMatcher)`.
  org.springframework.web.servlet.mvc.condition.PatternsRequestCondition(String[], UrlPathHelper, PathMatcher, boolean, boolean) as of 5.2.4. See class-level note in `RequestMappingHandlerMapping` on the deprecation of path extension config options.
  org.springframework.web.servlet.mvc.condition.PatternsRequestCondition(String[], UrlPathHelper, PathMatcher, boolean, boolean, List<String>) as of 5.2.4. See class-level note in `RequestMappingHandlerMapping` on the deprecation of path extension config options.
  org.springframework.http.converter.protobuf.ProtobufHttpMessageConverter(ExtensionRegistryInitializer) as of Spring Framework 5.1, use `ProtobufHttpMessageConverter(ExtensionRegistry)` instead
  org.springframework.http.converter.protobuf.ProtobufJsonFormatHttpMessageConverter(JsonFormat.Parser, JsonFormat.Printer, ExtensionRegistryInitializer) as of 5.1, in favor of `ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser, com.google.protobuf.util.JsonFormat.Printer, ExtensionRegistry)`
  org.springframework.web.reactive.result.method.RequestMappingInfo(PatternsRequestCondition, RequestMethodsRequestCondition, ParamsRequestCondition, HeadersRequestCondition, ConsumesRequestCondition, ProducesRequestCondition, RequestCondition<?>) as of 5.3.4 in favor using `RequestMappingInfo.Builder` via `RequestMappingInfo.paths(String...)`.
  org.springframework.web.servlet.mvc.method.RequestMappingInfo(PatternsRequestCondition, RequestMethodsRequestCondition, ParamsRequestCondition, HeadersRequestCondition, ConsumesRequestCondition, ProducesRequestCondition, RequestCondition<?>) as of 5.3 in favor using `RequestMappingInfo.Builder` via `RequestMappingInfo.paths(String...)`.
  org.springframework.web.reactive.result.method.RequestMappingInfo(RequestMappingInfo, RequestCondition<?>) since 5.3.4 in favor of using a `RequestMappingInfo.Builder` via `RequestMappingInfo.mutate()`.
  org.springframework.web.servlet.mvc.method.RequestMappingInfo(RequestMappingInfo, RequestCondition<?>) since 5.3 in favor of using `RequestMappingInfo.addCustomCondition(RequestCondition)`.
  org.springframework.web.reactive.result.method.RequestMappingInfo(String, PatternsRequestCondition, RequestMethodsRequestCondition, ParamsRequestCondition, HeadersRequestCondition, ConsumesRequestCondition, ProducesRequestCondition, RequestCondition<?>) as of 5.3.4 in favor using `RequestMappingInfo.Builder` via `RequestMappingInfo.paths(String...)`.
  org.springframework.web.servlet.mvc.method.RequestMappingInfo(String, PatternsRequestCondition, RequestMethodsRequestCondition, ParamsRequestCondition, HeadersRequestCondition, ConsumesRequestCondition, ProducesRequestCondition, RequestCondition<?>) as of 5.3 in favor using `RequestMappingInfo.Builder` via `RequestMappingInfo.paths(String...)`.
  org.springframework.web.server.ServerErrorException(String) in favor of `ServerErrorException(String, Throwable)`
  org.springframework.web.server.ServerErrorException(String, MethodParameter) in favor of `ServerErrorException(String, MethodParameter, Throwable)`
  org.springframework.core.type.StandardAnnotationMetadata(Class<?>) since 5.2 in favor of the factory method `AnnotationMetadata.introspect(Class)`
  org.springframework.core.type.StandardAnnotationMetadata(Class<?>, boolean) since 5.2 in favor of the factory method `AnnotationMetadata.introspect(Class)`. Use `MergedAnnotation.asMap` from `StandardAnnotationMetadata.getAnnotations()` rather than `AnnotatedTypeMetadata.getAnnotationAttributes(String)` if `nestedAnnotationsAsMap` is `false`
  org.springframework.core.type.StandardClassMetadata(Class<?>) since 5.2 in favor of `StandardAnnotationMetadata`
  org.springframework.core.type.StandardMethodMetadata(Method) since 5.2 in favor of obtaining instances via `AnnotationMetadata`
  org.springframework.core.type.StandardMethodMetadata(Method, boolean) since 5.2 in favor of obtaining instances via `AnnotationMetadata`
  org.springframework.web.reactive.socket.adapter.StandardWebSocketSession(Session, HandshakeInfo, DataBufferFactory, MonoProcessor<Void>)
  org.springframework.web.reactive.socket.adapter.TomcatWebSocketSession(Session, HandshakeInfo, DataBufferFactory, MonoProcessor<Void>)
  org.springframework.transaction.interceptor.TransactionInterceptor(PlatformTransactionManager, Properties) as of 5.2.5, in favor of `TransactionAspectSupport.setTransactionAttributes(Properties)`
  org.springframework.transaction.interceptor.TransactionInterceptor(PlatformTransactionManager, TransactionAttributeSource) as of 5.2.5, in favor of `TransactionInterceptor(TransactionManager, TransactionAttributeSource)`
  org.springframework.web.reactive.socket.adapter.UndertowWebSocketSession(WebSocketChannel, HandshakeInfo, DataBufferFactory, MonoProcessor<Void>)

- Deprecated Enum Constants
  Enum Constant and Description
  org.springframework.http.HttpStatus.DESTINATION_LOCKED See WebDAV Draft Changes
  org.springframework.http.HttpStatus.INSUFFICIENT_SPACE_ON_RESOURCE See WebDAV Draft Changes
  org.springframework.http.HttpStatus.METHOD_FAILURE See WebDAV Draft Changes
  org.springframework.http.HttpStatus.MOVED_TEMPORARILY in favor of `HttpStatus.FOUND` which will be returned from `HttpStatus.valueOf(302)`
  org.springframework.http.HttpStatus.REQUEST_ENTITY_TOO_LARGE in favor of `HttpStatus.PAYLOAD_TOO_LARGE` which will be returned from `HttpStatus.valueOf(413)`
  org.springframework.http.HttpStatus.REQUEST_URI_TOO_LONG in favor of `HttpStatus.URI_TOO_LONG` which will be returned from `HttpStatus.valueOf(414)`
  org.springframework.http.HttpStatus.USE_PROXY due to security concerns regarding in-band configuration of a proxy

- Deprecated Annotation Type Elements
  Annotation Type Element and Description
  org.springframework.context.annotation.Bean.autowire as of 5.1, since `@Bean` factory method argument resolution and `@Autowired` processing supersede name/type-based bean property injection