vertx / io.vertx.reactivex.ext.web.handler / TemplateHandler / create

# create

`open static fun create(engine: TemplateEngine): TemplateHandler`

Create a handler

### Parameters

`engine` - the template engine

Return
the handler

`open static fun create(engine: TemplateEngine, templateDirectory: String, contentType: String): TemplateHandler`

Create a handler

### Parameters

`engine` - the template engine

`templateDirectory` - the template directory where templates will be looked for

`contentType` - the content type header to be used in the response

Return
the handler