Class RootUriTemplateHandler

java.lang.Object
org.springframework.boot.restclient.RootUriTemplateHandler
All Implemented Interfaces:
UriTemplateHandler
Direct Known Subclasses:
RootUriBuilderFactory

@Deprecated(forRemoval=true, since="4.1.0") public class RootUriTemplateHandler extends Object implements UriTemplateHandler
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.1.0 for removal in 4.3.0 in favor of DefaultUriBuilderFactory.
UriTemplateHandler to set the root for URI that starts with '/'.
Since:
4.0.0
Author:
Phillip Webb, Scott Frederick
  • Constructor Details

    • RootUriTemplateHandler

      protected RootUriTemplateHandler(UriTemplateHandler handler)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • expand

      public URI expand(String uriTemplate, Map<String,?> uriVariables)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      expand in interface UriTemplateHandler
    • expand

      public URI expand(String uriTemplate, @Nullable Object... uriVariables)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      expand in interface UriTemplateHandler
    • getRootUri

      public @Nullable String getRootUri()
      Deprecated, for removal: This API element is subject to removal in a future version.