Skip to content

Add static factory methods to RequestCallback and ResponseExtractor [SPR-8604] #13247

Closed
@spring-projects-issues

Description

@spring-projects-issues

Craig opened SPR-8604 and commented

I'm attempting to use RestTemplate.execute() and it takes a RequestCallback instance and a ResponseExtractor instance as parameters. It seems that I should be able to use (via direct instantiation or inheritance) the really useful RestTemplate implementations of these interfaces, but they're all marked private. Can they please be marked public?


Affects: 5.0.4

Referenced from: commits 79e809b

3 votes, 6 watchers

Metadata

Metadata

Assignees

Labels

in: 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