DefaultUriBuilderFactory@Deprecated public abstract class AbstractUriTemplateHandler extends Object implements UriTemplateHandler
UriTemplateHandler implementations.
 Support setBaseUrl(java.lang.String) and setDefaultUriVariables(java.util.Map<java.lang.String, ?>) properties
 that should be relevant regardless of the URI template expand and encode
 mechanism used in sub-classes.
| Constructor and Description | 
|---|
| AbstractUriTemplateHandler()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| URI | expand(String uriTemplate,
      Map<String,?> uriVariables)Deprecated.  Expand the given URI template with a map of URI variables. | 
| URI | expand(String uriTemplate,
      Object... uriVariables)Deprecated.  Expand the given URI template with an array of URI variables. | 
| protected abstract URI | expandInternal(String uriTemplate,
              Map<String,?> uriVariables)Deprecated.  Actually expand and encode the URI template. | 
| protected abstract URI | expandInternal(String uriTemplate,
              Object... uriVariables)Deprecated.  Actually expand and encode the URI template. | 
| String | getBaseUrl()Deprecated.  Return the configured base URL. | 
| Map<String,?> | getDefaultUriVariables()Deprecated.  Return a read-only copy of the configured default URI variables. | 
| void | setBaseUrl(String baseUrl)Deprecated.  Configure a base URL to prepend URI templates with. | 
| void | setDefaultUriVariables(Map<String,?> defaultUriVariables)Deprecated.  Configure default URI variable values to use with every expanded URI
 template. | 
public void setBaseUrl(@Nullable String baseUrl)
UriComponentsBuilder.baseUrl - the base URL.public void setDefaultUriVariables(@Nullable Map<String,?> defaultUriVariables)
expand(String, Map)
 can override the default values.defaultUriVariables - the default URI variable valuespublic Map<String,?> getDefaultUriVariables()
public URI expand(String uriTemplate, Map<String,?> uriVariables)
UriTemplateHandlerexpand in interface UriTemplateHandleruriTemplate - the URI templateuriVariables - variable valuespublic URI expand(String uriTemplate, Object... uriVariables)
UriTemplateHandlerexpand in interface UriTemplateHandleruriTemplate - the URI templateuriVariables - variable valuesprotected abstract URI expandInternal(String uriTemplate, Map<String,?> uriVariables)