io.vertx.ext.web.templ

## Interface TemplateEngine

- All Known Subinterfaces:
    HandlebarsTemplateEngine, JadeTemplateEngine, MVELTemplateEngine, ThymeleafTemplateEngine

      public interface TemplateEngine

  A template engine uses a specific template and the data in a routing context to render a resource into a buffer.

  Concrete implementations exist for several well-known template engines.

  Author:
    Tim Fox

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `render(RoutingContext context, String templateFileName, Handler<AsyncResult<Buffer>> handler)` Render

- - ### Method Detail

    - #### render

          void render(RoutingContext context,
                      String templateFileName,
                      Handler<AsyncResult<Buffer>> handler)

      Render
      Parameters:
        `context` - the routing context
        `templateFileName` - the template file name to use
        `handler` - the handler that will be called with a result containing the buffer or a failure.

Copyright © 2015. All Rights Reserved.