Package dev.voidframework.web.http
Class TemplateResult
java.lang.Object
dev.voidframework.web.http.TemplateResult
Indicates that the elements necessary for the result to be processed by the template engine.
- Since:
- 1.0.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TemplateResultBuild a new instance.static TemplateResultBuild a new instance.static TemplateResultBuild a new instance.
-
Field Details
-
templateName
The name of the template to render.- Since:
- 1.0.0
-
dataModel
The data model to use.- Since:
- 1.0.0
-
-
Method Details
-
of
Build a new instance.- Parameters:
templateName- The name of the template to render- Returns:
- Newly created instance
- Since:
- 1.0.0
-
of
Build a new instance.- Parameters:
templateName- The name of the template to renderdataModel- The data model to use- Returns:
- Newly created instance
- Since:
- 1.0.0
-
of
Build a new instance.- Parameters:
templateName- The name of the template to renderdataModel- The data model to use- Returns:
- Newly created instance
- Since:
- 1.0.0
-