Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionin favor of
HttpEntity(Object, HttpHeaders)
in favor ofHttpEntity(HttpHeaders)
This method is provided for backward compatibility with APIs that would only accept maps. Generally avoid using HttpHeaders as a Map or MultiValueMap.in favor ofHttpHeaders.toSingleValueMap()
which performs a copy but ensures that collection-iterating methods likeentrySet()
are case-insensitivein favor ofRequestEntity(HttpHeaders, HttpMethod, URI)
in favor ofResponseEntity(Object, HttpHeaders, int)
in favor ofResponseEntity(HttpHeaders, HttpStatusCode)
use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.as of 5.3 in favor of usingUrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper)
, if at all. For further details, please seeUrlBasedCorsConfigurationSource.setAllowInitLookupPath(boolean)
.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.as of 5.3 in favor of usingUrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper)
, if at all. For further details, please seeUrlBasedCorsConfigurationSource.setAllowInitLookupPath(boolean)
.as of 5.3 in favor of usingUrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper)
, if at all. For further details, please seeUrlBasedCorsConfigurationSource.setAllowInitLookupPath(boolean)
.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.
-
Deprecated MethodsMethodDescriptionThis method is provided for backward compatibility with APIs that would only accept maps. Generally avoid using HttpHeaders as a Map or MultiValueMap.in favor of
HttpHeaders.toSingleValueMap()
which performs a copy but ensures that collection-iterating methods likeentrySet()
are case-insensitiveuse ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.as of 5.3 in favor of usingUrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper)
, if at all. For further details, please seeUrlBasedCorsConfigurationSource.setAllowInitLookupPath(boolean)
.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.as of 5.3 in favor of usingUrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper)
, if at all. For further details, please seeUrlBasedCorsConfigurationSource.setAllowInitLookupPath(boolean)
.as of 5.3 in favor of usingUrlBasedCorsConfigurationSource.setUrlPathHelper(UrlPathHelper)
, if at all. For further details, please seeUrlBasedCorsConfigurationSource.setAllowInitLookupPath(boolean)
.use ofPathMatcher
andUrlPathHelper
is deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser
.
-
Deprecated ConstructorsConstructorDescriptionin favor of
HttpEntity(Object, HttpHeaders)
in favor ofHttpEntity(HttpHeaders)
in favor ofRequestEntity(HttpHeaders, HttpMethod, URI)
in favor ofResponseEntity(Object, HttpHeaders, int)
in favor ofResponseEntity(HttpHeaders, HttpStatusCode)