The DefaultResponseErrorHandler's initBodyConvertFunction() is not directly usable in subclasses since the messageConverters are not set via the RestClient stack, (as it is when used with a RestTemplate).
Is making setMessageConverters protected instead of package-protected an option? (Extending this class to get the body convert function is useful for potentially deserializing error response bodies.)
The
DefaultResponseErrorHandler'sinitBodyConvertFunction()is not directly usable in subclasses since themessageConvertersare not set via theRestClientstack, (as it is when used with aRestTemplate).Is making
setMessageConvertersprotected instead of package-protected an option? (Extending this class to get the body convert function is useful for potentially deserializing error response bodies.)