# Module: vertx-web-js/template_handler

### Classes

TemplateHandler

### Methods

#### (static) TemplateHandler.create(engine, templateDirectory, contentType) → {TemplateHandler}

Create a handler

##### Parameters:

Name | Type | Description
--- | --- | ---
`engine` | TemplateEngine | the template engine
`templateDirectory` | string | the template directory where templates will be looked for
`contentType` | string | the content type header to be used in the response

Source:
  - vertx-web-js/template_handler.js, line 99

##### Returns:

the handler

Type
  TemplateHandler