HandlebarsTemplateEngine
instead.@Deprecated public interface HandlebarsTemplateEngine extends HandlebarsTemplateEngine
DEFAULT_MAX_CACHE_SIZE, DEFAULT_TEMPLATE_EXTENSION
Modifier and Type | Method and Description |
---|---|
static HandlebarsTemplateEngine |
create(Vertx vertx)
Deprecated.
Create a template engine using defaults
|
default void |
render(RoutingContext context,
String templateFileName,
Handler<AsyncResult<Buffer>> handler)
Deprecated.
|
getHandlebars, getResolvers, setExtension, setMaxCacheSize, setResolvers
isCachingEnabled, render, render
static HandlebarsTemplateEngine create(Vertx vertx)
create
in interface HandlebarsTemplateEngine
@Deprecated default void render(RoutingContext context, String templateFileName, Handler<AsyncResult<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 © 2023 Eclipse. All rights reserved.