Class PugTemplateEngine
java.lang.Object
io.vertx.mutiny.ext.web.common.template.TemplateEngine
io.vertx.mutiny.ext.web.templ.pug.PugTemplateEngine
- All Implemented Interfaces:
MutinyDelegate
A template engine that uses Pug.
The
TemplateEngine.unwrap() shall return an object of class
Thís interface has been copied from JadeTemplateEngine.java. Authors of JadeTemplateEngine.java are Tim Fox, Paulo Lopes (pmlopes), Julien Viet (vietj), Roman Novikov (mystdeim), nEJC (mrnejc), Yunyu Lin, Kevin Macksamie (k-mack), Geoffrey Clements (baldmountain).
For authors of this file see git history.
NOTE: This class has been automatically generated from theoriginal non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeArg<PugTemplateEngine>static final StringDefault template extension -
Constructor Summary
ConstructorsConstructorDescriptionPugTemplateEngine(io.vertx.ext.web.templ.pug.PugTemplateEngine delegate) PugTemplateEngine(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic PugTemplateEnginestatic PugTemplateEnginestatic PugTemplateEnginebooleanio.vertx.ext.web.templ.pug.PugTemplateEngineinthashCode()static PugTemplateEnginenewInstance(io.vertx.ext.web.templ.pug.PugTemplateEngine arg) toString()Methods inherited from class io.vertx.mutiny.ext.web.common.template.TemplateEngine
clearCache, newInstance, render, render, renderAndAwait, renderAndAwait, renderAndForget, renderAndForget, unwrap
-
Field Details
-
__TYPE_ARG
-
DEFAULT_TEMPLATE_EXTENSION
Default template extension- See Also:
-
-
Constructor Details
-
PugTemplateEngine
public PugTemplateEngine(io.vertx.ext.web.templ.pug.PugTemplateEngine delegate) -
PugTemplateEngine
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.templ.pug.PugTemplateEngine getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Overrides:
getDelegatein classTemplateEngine- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
- Overrides:
toStringin classTemplateEngine
-
equals
- Overrides:
equalsin classTemplateEngine
-
hashCode
public int hashCode()- Overrides:
hashCodein classTemplateEngine
-
create
- Parameters:
vertx-- Returns:
- the engine
-
create
- Parameters:
vertx-extension-- Returns:
- the engine
-
create
- Parameters:
vertx-extension-encoding-- Returns:
- the engine
-
newInstance
-