Class WebTemplateLinkAnnotation


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

      Constructors 
      Constructor Description
      WebTemplateLinkAnnotation​(boolean isLinkSecure, java.lang.String linkName, java.lang.String... httpMethodNames)
      Instantiate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] getHttpMethods()
      Obtains the HttpMethod names for the link.
      java.lang.String getLinkName()
      Obtains the link name.
      boolean isLinkSecure()
      Indicates if the link is secure.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebTemplateLinkAnnotation

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

      • isLinkSecure

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

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

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