java.lang.Object
org.springframework.boot.actuate.endpoint.web.Link

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

    • 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 the href is templated.
      返回:
      true if the href is templated, otherwise false
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object