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 RootUriTemplateHandler
expand, expand, getRootUriMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UriTemplateHandler
expand, expand
-
Constructor Details
-
RootUriBuilderFactory
Create an instance with the root URI to use.- Parameters:
rootUri- the root URIdelegate- theUriTemplateHandlerto delegate to
-
-
Method Details
-
uriString
- Specified by:
uriStringin interfaceUriBuilderFactory
-
builder
- Specified by:
builderin interfaceUriBuilderFactory
-