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

# TemplateHandler

`open class TemplateHandler : Handler<RoutingContext>`

A handler which renders responses using a template engine and where the template name is selected from the URI path. NOTE: This class has been automatically generated from the io.vertx.ext.web.handler.TemplateHandler non RX-ified interface using Vert.x codegen.

### Constructors

<init> | `TemplateHandler(delegate: TemplateHandler)`

### Properties

__TYPE_ARG | `static val __TYPE_ARG: TypeArg<TemplateHandler>`

### Functions

create | `open static fun create(engine: TemplateEngine): TemplateHandler` `open static fun create(engine: TemplateEngine, templateDirectory: String, contentType: String): TemplateHandler` Create a handler
equals | `open fun equals(other: Any?): Boolean`
getDelegate | `open fun getDelegate(): TemplateHandler`
handle | `open fun handle(arg0: RoutingContext): Unit`
hashCode | `open fun hashCode(): Int`
newInstance | `open static fun newInstance(arg: TemplateHandler): TemplateHandler`
setIndexTemplate | `open fun setIndexTemplate(indexTemplate: String): TemplateHandler` Set the index template
toString | `open fun toString(): String`