-
Couldn't load subscription status.
- Fork 38.8k
Description
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:
- Add constructor base address in RestTemplate [SPR-7803] #12459 Add constructor base address in RestTemplate ("is duplicated by")
- UriTemplateHandler is not called for requests without url variables [SPR-13145] #17736 UriTemplateHandler is not called for requests without url variables
Referenced from: commits 1ba0625