Skip to content

Proper handling of parameterized types in RestTemplate [SPR-7023] #11685

Closed
@spring-projects-issues

Description

@spring-projects-issues

Arjen Poutsma opened SPR-7023 and commented

Currently, the RestTemplate has no way to handle generic types. In other words, the following does not work:

List<MyDomain> myDomainList = restTemplate.getForObject(uri, List.class);

This should be fixed.


Affects: 3.1.1

Issue Links:

Referenced from: commits ed3823b

14 votes, 16 watchers

Metadata

Metadata

Assignees

Labels

has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importin: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions