Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 7.1 with no replacement.since 7.1 with no replacement.since 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.1 in favor ofHttpMessageConverter.canWriteRepeatedly(Object, MediaType).since 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.1 in favor ofMultipartHttpMessageConverter.since 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 copyin favor ofRequestEntity(HttpHeaders, HttpMethod, URI)in favor ofResponseEntity(Object, HttpHeaders, int)in favor ofResponseEntity(HttpHeaders, HttpStatusCode)as of 7.1 in favor ofRestClient.ResponseSpec.ErrorHandleras of 7.1 in favor ofRestClient.ResponseSpec.ErrorHandleras of 7.1 with no replacement.as of 7.1 in favor ofRestClient.ResponseSpec.ErrorHandleras of 7.1 in favor ofRestClient.RequestHeadersSpec.httpRequest(Consumer).as of 7.1 in favor ofRestClient.ResponseSpec.ErrorHandleras of 7.1 in favor ofRestClient.RequestHeadersSpec.exchange(RestClient.RequestHeadersSpec.ExchangeFunction).as of 7.1 in favor ofRestClient.Builder.defaultStatusHandler(Predicate, ResponseSpec.ErrorHandler)since 7.0 in favor ofRestClient.Builder.configureMessageConverters(Consumer)since 7.0 in favor ofRestClient.Builder.configureMessageConverters(Consumer)as of 7.1 in favor ofRestClient.ResponseSpec.onStatus(Predicate, ErrorHandler)as of 7.1, in favor ofRestClient.as of 7.1, in favor ofRestClient. For removal in 8.0.as of 7.1, in favor ofRestClient.as of 7.1 in favor ofRestClientAdapter.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.as of 7.1, in favor ofForwardedHeaderFilter(boolean)as of 7.1, in favor ofForwardedHeaderTransformer(boolean)
-
Deprecated InterfacesInterfaceDescriptionas of 7.1 in favor of
RestClient.RequestHeadersSpec.httpRequest(Consumer).as of 7.1 in favor ofRestClient.ResponseSpec.ErrorHandleras of 7.1 in favor ofRestClient.RequestHeadersSpec.exchange(RestClient.RequestHeadersSpec.ExchangeFunction).as of 7.1, in favor ofRestClient.
-
Deprecated ClassesClassDescriptionsince 7.1 with no replacement.since 7.1 with no replacement.since 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.1 in favor ofMultipartHttpMessageConverter.since 7.0 in favor ofJacksonXmlHttpMessageConvertersince 7.0 in favor ofJacksonYamlHttpMessageConverteras of 7.1 in favor ofRestClient.ResponseSpec.ErrorHandleras of 7.1 in favor ofRestClient.ResponseSpec.ErrorHandleras of 7.1 with no replacement.as of 7.1 in favor ofRestClient.ResponseSpec.ErrorHandleras of 7.1, in favor ofRestClient. For removal in 8.0.as of 7.1, in favor ofRestClient.as of 7.1 in favor ofRestClientAdapter.
-
Deprecated Exception ClassesException ClassDescriptionsince 7.0 in favor of
HttpClientErrorException.UnprocessableContentsince 7.0 in favor ofContentTooLargeException
-
Deprecated MethodsMethodDescriptionsince 7.1 in favor of
HttpMessageConverter.canWriteRepeatedly(Object, MediaType).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 copysince 7.0 in favor ofResponseEntity.unprocessableContent()as of 7.1 in favor ofRestClient.Builder.defaultStatusHandler(Predicate, ResponseSpec.ErrorHandler)since 7.0 in favor ofRestClient.Builder.configureMessageConverters(Consumer)since 7.0 in favor ofRestClient.Builder.configureMessageConverters(Consumer)as of 7.1 in favor ofRestClient.ResponseSpec.onStatus(Predicate, ErrorHandler)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)as of 7.1, in favor ofForwardedHeaderFilter(boolean)as of 7.1, in favor ofForwardedHeaderTransformer(boolean)
-
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