HandlebarsTemplateEngine
instead.@Deprecated public interface HandlebarsTemplateEngine extends HandlebarsTemplateEngine
DEFAULT_MAX_CACHE_SIZE, DEFAULT_TEMPLATE_EXTENSION
Modifier and Type | Method and Description |
---|---|
static HandlebarsTemplateEngine |
create(io.vertx.core.Vertx vertx)
Deprecated.
Create a template engine using defaults
|
default void |
render(RoutingContext context,
String templateFileName,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler)
Deprecated.
|
getHandlebars, getResolvers, setExtension, setMaxCacheSize, setResolvers
isCachingEnabled, render, render
static HandlebarsTemplateEngine create(io.vertx.core.Vertx vertx)
create
in interface HandlebarsTemplateEngine
@Deprecated default void render(RoutingContext context, String templateFileName, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler)
context
- the routing contexttemplateFileName
- the template file name to usehandler
- the handler that will be called with a result containing the buffer or a failure.Copyright © 2021 Eclipse. All rights reserved.