Class LinkDTO

java.lang.Object
io.micronaut.starter.api.LinkDTO

@Introspected public class LinkDTO extends Object
Represents a link.
Since:
1.0.0
Author:
graemerocher
  • Constructor Details

    • LinkDTO

      public LinkDTO(String href)
    • LinkDTO

      @Creator public LinkDTO(String href, boolean templated)
  • Method Details

    • getHref

      public String getHref()
      Returns:
      The link address
    • isTemplated

      public boolean isTemplated()
      Returns:
      Whether the link is templated