Class RootUriBuilderFactory
java.lang.Object
org.springframework.boot.restclient.RootUriTemplateHandler
org.springframework.boot.restclient.RootUriBuilderFactory
- All Implemented Interfaces:
UriBuilderFactory
,UriTemplateHandler
UriBuilderFactory
to set the root for URI that starts with '/'
.- Since:
- 4.0.0
- Author:
- Scott Frederick
-
Constructor Summary
ConstructorsConstructorDescriptionRootUriBuilderFactory
(String rootUri, UriTemplateHandler delegate) Create an instance with the root URI to use. -
Method Summary
Methods inherited from class org.springframework.boot.restclient.RootUriTemplateHandler
expand, expand, getRootUri
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.util.UriTemplateHandler
expand, expand
-
Constructor Details
-
RootUriBuilderFactory
Create an instance with the root URI to use.- Parameters:
rootUri
- the root URIdelegate
- theUriTemplateHandler
to delegate to
-
-
Method Details
-
uriString
- Specified by:
uriString
in interfaceUriBuilderFactory
-
builder
- Specified by:
builder
in interfaceUriBuilderFactory
-