Class WebTemplateLinkAnnotation
- java.lang.Object
-
- net.officefloor.web.template.section.WebTemplateLinkAnnotation
-
public class WebTemplateLinkAnnotation extends java.lang.ObjectAnnotation identifying aHttpInputlink for theWebTemplate.- 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 theHttpMethodnames for the link.java.lang.StringgetLinkName()Obtains the link name.booleanisLinkSecure()Indicates if the link is secure.
-
-
-
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-HttpMethodnames supported by the link.
-
-
Method Detail
-
isLinkSecure
public boolean isLinkSecure()
Indicates if the link is secure.- Returns:
trueif link is secure.
-
getLinkName
public java.lang.String getLinkName()
Obtains the link name.- Returns:
- Link name.
-
getHttpMethods
public java.lang.String[] getHttpMethods()
Obtains theHttpMethodnames for the link.- Returns:
HttpMethodnames for the link.
-
-