Class WebTemplateLinkAnnotation

java.lang.Object
net.officefloor.web.template.section.WebTemplateLinkAnnotation

public class WebTemplateLinkAnnotation extends Object
Annotation identifying a HttpInput link for the WebTemplate.
Author:
Daniel Sagenschneider
  • Constructor Details

    • WebTemplateLinkAnnotation

      public WebTemplateLinkAnnotation(boolean isLinkSecure, String linkName, String... httpMethodNames)
      Instantiate.
      Parameters:
      isLinkSecure - Indicates if the link is secure.
      linkName - Name of link.
      httpMethodNames - HttpMethod names supported by the link.
  • Method Details

    • isLinkSecure

      public boolean isLinkSecure()
      Indicates if the link is secure.
      Returns:
      true if link is secure.
    • getLinkName

      public String getLinkName()
      Obtains the link name.
      Returns:
      Link name.
    • getHttpMethods

      public String[] getHttpMethods()
      Obtains the HttpMethod names for the link.
      Returns:
      HttpMethod names for the link.