Class RootUriBuilderFactory
java.lang.Object
org.springframework.boot.restclient.RootUriTemplateHandler
org.springframework.boot.restclient.RootUriBuilderFactory
- All Implemented Interfaces:
org.springframework.web.util.UriBuilderFactory, org.springframework.web.util.UriTemplateHandler
public class RootUriBuilderFactory
extends RootUriTemplateHandler
implements org.springframework.web.util.UriBuilderFactory
UriBuilderFactory to set the root for URI that starts with '/'.- Since:
- 4.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionRootUriBuilderFactory(String rootUri, org.springframework.web.util.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 org.springframework.web.util.UriTemplateHandler
expand, expand
-
Constructor Details
-
RootUriBuilderFactory
public RootUriBuilderFactory(String rootUri, org.springframework.web.util.UriTemplateHandler delegate) Create an instance with the root URI to use.- Parameters:
rootUri- the root URIdelegate- theUriTemplateHandlerto delegate to
-
-
Method Details
-
uriString
- Specified by:
uriStringin interfaceorg.springframework.web.util.UriBuilderFactory
-
builder
public org.springframework.web.util.UriBuilder builder()- Specified by:
builderin interfaceorg.springframework.web.util.UriBuilderFactory
-