类 Link


  • public class Link
    extends Object
    Details for a link in a HAL-formatted response.
    从以下版本开始:
    2.0.0
    • 构造器详细资料

      • Link

        public Link​(String href)
        Creates a new Link with the given href.
        参数:
        href - the href
    • 方法详细资料

      • getHref

        public String getHref()
        Returns the href of the link.
        返回:
        the href
      • isTemplated

        public boolean isTemplated()
        Returns whether or not the href is templated.
        返回:
        true if the href is templated, otherwise false