Class RootUriTemplateHandler

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

@Deprecated(forRemoval=true, since="4.1.0") public class RootUriTemplateHandler extends Object implements org.springframework.web.util.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
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    RootUriTemplateHandler(org.springframework.web.util.UriTemplateHandler handler)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    expand(String uriTemplate, @Nullable Object... uriVariables)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    expand(String uriTemplate, Map<String,?> uriVariables)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @Nullable String
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RootUriTemplateHandler

      protected RootUriTemplateHandler(org.springframework.web.util.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 org.springframework.web.util.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 org.springframework.web.util.UriTemplateHandler
    • getRootUri

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