new TemplateHandler()
A handler which renders responses using a template engine and where the template name is selected from the URI
path.
- Source:
Methods
handle(arg0)
Parameters:
Name | Type | Description |
---|---|---|
arg0 |
RoutingContext |
- Source:
setIndexTemplate(indexTemplate) → {TemplateHandler}
Set the index template
Parameters:
Name | Type | Description |
---|---|---|
indexTemplate |
string | the index template |
- Source:
Returns:
a reference to this, so the API can be used fluently
- Type
- TemplateHandler