rootUri

open fun rootUri(rootUri: String): RestTemplateBuilder

Set a root URL that should be applied to each request that starts with '/'. The root URL will only apply when String variants of the RestTemplate methods are used for specifying the request URL.

Return

a new builder instance

Parameters

rootUri

the root URI or null