Class WebTemplateLinkAnnotation
- java.lang.Object
-
- net.officefloor.web.template.section.WebTemplateLinkAnnotation
-
public class WebTemplateLinkAnnotation extends java.lang.Object
Annotation identifying aHttpInput
link 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 theHttpMethod
names for the link.java.lang.String
getLinkName()
Obtains the link name.boolean
isLinkSecure()
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
-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 theHttpMethod
names for the link.- Returns:
HttpMethod
names for the link.
-
-