Browse Source
Extending AbstractSmartHttpMessageConverter typically requires to override both Class and ResolvableType variants of canRead. This was not intended as SmartHttpMessageConverter interface has default methods doing the conversion from Class parameters to ResolvableType ones, but AbstractHttpMessageConverter overrides it. This commit changes AbstractSmartHttpMessageConverter canRead/canWrite overrides from ResolvableType to Class ones that delegate to the ResolvableType variants. It also refines AbstractJacksonHttpMessageConverter accordingly. Closes gh-35916pull/35933/head
2 changed files with 7 additions and 8 deletions
Loading…
Reference in new issue