Class TemplateLogic
- java.lang.Object
-
- net.officefloor.tutorial.rawhttpserver.TemplateLogic
-
public class TemplateLogic extends java.lang.Object
Example template logic.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description TemplateLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getRawHtml()
Provides the raw HTML to render.TemplateLogic
getTemplateData()
Able to usethis
as bean for populating.
-
-
-
Method Detail
-
getTemplateData
public TemplateLogic getTemplateData()
Able to usethis
as bean for populating.- Returns:
TemplateLogic
to provide properties.
-
getRawHtml
@NotEscaped public java.lang.String getRawHtml()
Provides the raw HTML to render. It is not escaped due to theNotEscaped
annotation.- Returns:
- Raw HTML to render.
-
-