# Module: vertx-web-js/template_handler

## vertx-web-js/template_handler

Source:
  - template_handler.js, line 3

### 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:
    - template_handler.js, line 65

  ##### Returns:

  the handler
  Type
    TemplateHandler