Skip to content

Ability to prefix each RestTemplate request using some kind of UriPrefixingClientHttpRequestFactory [SPR-13035] #17627

@spring-projects-issues

Description

@spring-projects-issues

Jiri Mikulasek opened SPR-13035 and commented

Please consider to provide some way how to prefix all requests from RestTemplate with the same basic prefix (usually protocol://host:port/someapiprefix form).

I believe this use case is pretty widespread as people uses RestTemplate to implement custom client libraries for apis, which resides on the same prefix quite often.

If there already is such possibility, please point me the right direction. Otherwise I would love to cooperate on inclusion (and possible improvements) of our UriPrefixingClientHttpRequestFactory and UriPrefixer into springframework


Issue Links:

Referenced from: commits 1ba0625

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