Class WebTemplateLinkAnnotation
java.lang.Object
net.officefloor.web.template.section.WebTemplateLinkAnnotation
Annotation identifying a
HttpInput link for the WebTemplate.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionWebTemplateLinkAnnotation(boolean isLinkSecure, String linkName, String... httpMethodNames) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionString[]Obtains theHttpMethodnames for the link.Obtains the link name.booleanIndicates if the link is secure.
-
Constructor Details
-
WebTemplateLinkAnnotation
Instantiate.- Parameters:
isLinkSecure- Indicates if the link is secure.linkName- Name of link.httpMethodNames-HttpMethodnames supported by the link.
-
-
Method Details
-
isLinkSecure
public boolean isLinkSecure()Indicates if the link is secure.- Returns:
trueif link is secure.
-
getLinkName
Obtains the link name.- Returns:
- Link name.
-
getHttpMethods
Obtains theHttpMethodnames for the link.- Returns:
HttpMethodnames for the link.
-