接口 UriTemplateHandler

所有已知子接口:
UriBuilderFactory
所有已知实现类:
AbstractUriTemplateHandler, DefaultUriBuilderFactory, DefaultUriTemplateHandler, RootUriTemplateHandler

public interface UriTemplateHandler
Defines methods for expanding a URI template with variables.
从以下版本开始:
4.0
作者:
Rossen Stoyanchev, Harry Yang
另请参阅:
  • 方法概要

    修饰符和类型
    方法
    说明
    expand(String uriTemplate, Object... uriVariables)
    Expand the given URI template with an array of URI variables.
    expand(String uriTemplate, Map<String,?> uriVariables)
    Expand the given URI template with a map of URI variables.
  • 方法详细资料

    • expand

      URI expand(String uriTemplate, Map<String,?> uriVariables)
      Expand the given URI template with a map of URI variables.
      参数:
      uriTemplate - the URI template
      uriVariables - variable values
      返回:
      the created URI instance
    • expand

      URI expand(String uriTemplate, Object... uriVariables)
      Expand the given URI template with an array of URI variables.
      参数:
      uriTemplate - the URI template
      uriVariables - variable values
      返回:
      the created URI instance