Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 7.0 in favor of
JacksonCborDecodersince 7.0 in favor ofJacksonCborEncodersince 7.0 in favor ofAbstractJacksonDecodersince 7.0 in favor ofAbstractJacksonEncodersince 7.0 in favor ofJacksonCodecSupportsince 7.0 in favor ofAbstractJacksonDecodersince 7.0 in favor ofJacksonJsonEncodersince 7.0 in favor ofJacksonSmileDecodersince 7.0 in favor ofJacksonSmileEncodersince 7.0 in favor ofJacksonCborHttpMessageConvertersince 7.0 in favor ofAbstractJacksonHttpMessageConvertersince 7.0 in favor using directly Jackson 3 builders likeJsonMapper.builder()since 7.0 in favor of using directly Jackson 3 converters default constructorsince 7.0 in favor ofJacksonJsonHttpMessageConvertersince 7.0 in favor of usingSmartHttpMessageConverterhintssince 7.0 in favor of usingSmartHttpMessageConverterhintssince 7.0 in favor ofJacksonHandlerInstantiatorsince 7.0 in favor ofJacksonSmileHttpMessageConvertersince 7.0 in favor ofJacksonXmlHttpMessageConvertersince 7.0 in favor ofJacksonYamlHttpMessageConverterin favor ofHttpEntity(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)since 7.0 in favor ofRestClient.Builder.configureMessageConverters(Consumer)since 7.0 in favor ofRestClient.Builder.configureMessageConverters(Consumer)use ofPathMatcherandUrlPathHelperis 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 ofPathMatcherandUrlPathHelperis 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 ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.
-
Deprecated ClassesClassDescriptionsince 7.0 in favor of
JacksonCborDecodersince 7.0 in favor ofJacksonCborEncodersince 7.0 in favor ofAbstractJacksonDecodersince 7.0 in favor ofAbstractJacksonEncodersince 7.0 in favor ofJacksonCodecSupportsince 7.0 in favor ofAbstractJacksonDecodersince 7.0 in favor ofJacksonJsonEncodersince 7.0 in favor ofJacksonSmileDecodersince 7.0 in favor ofJacksonSmileEncodersince 7.0 in favor ofJacksonCborHttpMessageConvertersince 7.0 in favor ofAbstractJacksonHttpMessageConvertersince 7.0 in favor using directly Jackson 3 builders likeJsonMapper.builder()since 7.0 in favor of using directly Jackson 3 converters default constructorsince 7.0 in favor ofJacksonJsonHttpMessageConvertersince 7.0 in favor of usingSmartHttpMessageConverterhintssince 7.0 in favor of usingSmartHttpMessageConverterhintssince 7.0 in favor ofJacksonHandlerInstantiatorsince 7.0 in favor ofJacksonSmileHttpMessageConvertersince 7.0 in favor ofJacksonXmlHttpMessageConvertersince 7.0 in favor ofJacksonYamlHttpMessageConverter
-
Deprecated Exception ClassesException ClassDescriptionsince 7.0 in favor of
HttpClientErrorException.UnprocessableContentsince 7.0 in favor ofContentTooLargeException
-
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-insensitivesince 7.0 in favor ofResponseEntity.unprocessableContent()since 7.0 in favor ofRestClient.Builder.configureMessageConverters(Consumer)since 7.0 in favor ofRestClient.Builder.configureMessageConverters(Consumer)use ofPathMatcherandUrlPathHelperis 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 ofPathMatcherandUrlPathHelperis 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 ofPathMatcherandUrlPathHelperis 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)
-
Deprecated Enum ConstantsEnum ConstantDescriptionsince 7.0, this is now unassignedsince 7.0, marked as unused in RFC 9110since 7.0, this is now marked as "historic" and not endorsed by a standards body.since 7.0 in favor of
HttpStatus.CONTENT_TOO_LARGEsince 7.0, removed from WebDAV specificationsince 7.0 in favor ofHttpStatus.UNPROCESSABLE_CONTENT