Skip to content

Revise generic type handling in GsonHttpMessageConverter [SPR-15381] #19944

Closed

Description

@spring-projects-issues

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:

Referenced from: commits 3c8fc46, e5fdd4c

Activity

  1. spring-projects-issues commented on Apr 4, 2017

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    There's also the same generic type resolution algorithm in Jackson2CodecSupport in our new reactive codec abstraction. This needs to be unified and reused as far as possible.

  2. added
    in: web
    type: task
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: webtype: task

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions