open static fun create(engine: TemplateEngine): TemplateHandler
Create a handler
Return
the handler
open static fun create(engine: TemplateEngine, templateDirectory: String, contentType: String): TemplateHandler
Create a handler
templateDirectory - the template directory where templates will be looked for
contentType - the content type header to be used in the response
Return
the handler