-
Terminally Deprecated ElementsElementDescriptionAs of Spring Framework 6.2.6, in favor of
BeanOverrideHandler(Field, ResolvableType, String, String, BeanOverrideStrategy)as of Spring Framework 6.2.4, in favor ofAbstractDelegatingSmartContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints); to be removed in Spring Framework 8.0as of Spring Framework 6.2.4, in favor ofAbstractGenericContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints); to be removed in Spring Framework 8.0as of Spring Framework 6.2.4, in favor ofAbstractGenericWebContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints); to be removed in Spring Framework 8.0in favor of callingString.formatted(Object...)upfrontin favor ofExchangeResult.getStatus(), for removal in 7.0in favor ofJsonPathAssertions.value(Class, Consumer)in favor ofJsonPathAssertions.value(Class, Matcher)in favor of callingString.formatted(Object...)upfront
-
Deprecated Classes
-
Deprecated MethodsMethodDescriptionas of Spring Framework 6.0 in favor of
MockServerHttpRequest.method(HttpMethod, String, Object...)as of Spring Framework 6.2.4, in favor ofAotContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints); to be removed in Spring Framework 8.0as of Spring Framework 6.0, in favor of methods defined in theSmartContextLoaderSPIas of Spring Framework 6.0, in favor of methods defined in theSmartContextLoaderSPIsince 6.1 in favor ofMergedContextConfiguration.getPropertySourceDescriptors()as of Spring Framework 6.2.4, in favor ofAbstractDelegatingSmartContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints); to be removed in Spring Framework 8.0as of Spring Framework 6.0, in favor ofAbstractGenericContextLoader.loadContext(MergedContextConfiguration)as of Spring Framework 6.2.4, in favor ofAbstractGenericContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints); to be removed in Spring Framework 8.0as of Spring Framework 6.2.4, in favor ofAbstractGenericWebContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints); to be removed in Spring Framework 8.0in favor ofExchangeResult.getStatus(), for removal in 7.0in favor ofJsonPathAssertions.value(Class, Consumer)in favor ofJsonPathAssertions.value(Class, Matcher)in favor of callingString.formatted(Object...)upfrontas of 5.1.13 in favor ofWebTestClient.Builder.codecs(Consumer)as of Spring Framework 5.2 in favor ofWebTestClient.RequestBodySpec.bodyValue(Object)as of 6.0, seePathPatternParser.setMatchOptionalTrailingSeparator(boolean)in favor ofMockMvcRequestBuilders.request(HttpMethod, URI)in favor ofStatusResultMatchers.isEarlyHints()matching the deprecation ofHttpStatus.DESTINATION_LOCKEDmatching the deprecation ofHttpStatus.INSUFFICIENT_SPACE_ON_RESOURCEmatching the deprecation ofHttpStatus.METHOD_FAILUREin favor ofStatusResultMatchers.isFound()matching the deprecation ofHttpStatus.REQUEST_ENTITY_TOO_LARGEmatching the deprecation ofHttpStatus.REQUEST_URI_TOO_LONGmatching the deprecation ofHttpStatus.USE_PROXYas of Spring Framework 5.3.10, in favor ofResultActions.andExpectAll(ResultMatcher...)as of 5.2.4. See class-level note inRequestMappingHandlerMappingon the deprecation of path extension config options.as of 6.0, seePathPatternParser.setMatchOptionalTrailingSeparator(boolean)
-
Deprecated ConstructorsConstructorDescriptionAs of Spring Framework 6.2.6, in favor of
BeanOverrideHandler(Field, ResolvableType, String, String, BeanOverrideStrategy)in favor of callingString.formatted(Object...)upfront
AotContextLoader.loadContextForAotProcessing(MergedContextConfiguration, RuntimeHints); to be removed in Spring Framework 8.0