Closed
Description
Juergen Hoeller opened SPR-15381 and commented
In the course of #19490, it turns out that GsonHttpMessageConverter
should be sharing AbstractJackson2HttpMessageConverter
's recently revised generic type handling, also shared by the new JsonbHttpMessageConverter
.
The full extent of this is only really feasible in 5.0, but in particular deprecations of getTypeToken
and co should be backported to 4.3.8 as well.
Issue Links:
- Subclass-resolved generic return type declarations for handler methods [SPR-16877] #21416 Subclass-resolved generic return type declarations for handler methods ("is duplicated by")
- Support for JSON Binding API (JSON-B) [SPR-14923] #19490 Support for JSON Binding API (JSON-B)
- Revise AbstractJackson2HttpMessageConverter's generic type adaptation [SPR-13728] #18301 Revise AbstractJackson2HttpMessageConverter's generic type adaptation