public interface HandlebarsTemplateEngine extends TemplateEngine
TemplateEngine.unwrap()
shall return an object of class Handlebars
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TEMPLATE_EXTENSION
Default template extension
|
Modifier and Type | Method and Description |
---|---|
static HandlebarsTemplateEngine |
create(Vertx vertx)
Create a template engine using defaults
|
static HandlebarsTemplateEngine |
create(Vertx vertx,
String extension)
Create a template engine using defaults
|
com.github.jknack.handlebars.Handlebars |
getHandlebars()
Deprecated.
see
TemplateEngine.unwrap()
Get a reference to the internal Handlebars object so it
can be configured. |
com.github.jknack.handlebars.ValueResolver[] |
getResolvers()
Deprecated.
see
TemplateEngine.unwrap()
Return the array of configured handlebars context value resolvers. |
HandlebarsTemplateEngine |
setResolvers(com.github.jknack.handlebars.ValueResolver... resolvers)
Deprecated.
see
TemplateEngine.unwrap()
Set the array of handlebars context value resolvers. |
clearCache, render, render, render, render, unwrap
static final String DEFAULT_TEMPLATE_EXTENSION
static HandlebarsTemplateEngine create(Vertx vertx)
static HandlebarsTemplateEngine create(Vertx vertx, String extension)
@Deprecated com.github.jknack.handlebars.Handlebars getHandlebars()
TemplateEngine.unwrap()
Get a reference to the internal Handlebars object so it
can be configured.@Deprecated com.github.jknack.handlebars.ValueResolver[] getResolvers()
TemplateEngine.unwrap()
Return the array of configured handlebars context value resolvers.@Deprecated HandlebarsTemplateEngine setResolvers(com.github.jknack.handlebars.ValueResolver... resolvers)
TemplateEngine.unwrap()
Set the array of handlebars context value resolvers.resolvers
- the value resolvers to be usedCopyright © 2023 Eclipse. All rights reserved.