Class Link


  • public class Link
    extends Object
    Details for a link in a HAL-formatted response.
    Since:
    2.0.0
    • Constructor Detail

      • Link

        public Link​(String href)
        Creates a new Link with the given href.
        Parameters:
        href - the href
    • Method Detail

      • getHref

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

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