Class RootUriBuilderFactory

java.lang.Object
org.springframework.boot.restclient.RootUriTemplateHandler
org.springframework.boot.restclient.RootUriBuilderFactory
All Implemented Interfaces:
UriBuilderFactory, UriTemplateHandler

@Deprecated(forRemoval=true, since="4.1.0") public class RootUriBuilderFactory extends RootUriTemplateHandler implements UriBuilderFactory
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.
UriBuilderFactory to set the root for URI that starts with '/'.
Since:
4.0.0
Author:
Scott Frederick
  • Constructor Details

    • RootUriBuilderFactory

      public RootUriBuilderFactory(String rootUri, UriTemplateHandler delegate)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create an instance with the root URI to use.
      Parameters:
      rootUri - the root URI
      delegate - the UriTemplateHandler to delegate to
  • Method Details

    • uriString

      public UriBuilder uriString(String uriTemplate)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      uriString in interface UriBuilderFactory
    • builder

      public UriBuilder builder()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      builder in interface UriBuilderFactory