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 String
Default template extension -
Constructor Summary
ConstructorsConstructorDescriptionPugTemplateEngine
(io.vertx.ext.web.templ.pug.PugTemplateEngine delegate) PugTemplateEngine
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic PugTemplateEngine
static PugTemplateEngine
static PugTemplateEngine
boolean
io.vertx.ext.web.templ.pug.PugTemplateEngine
int
hashCode()
static PugTemplateEngine
newInstance
(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:
getDelegate
in interfaceMutinyDelegate
- Overrides:
getDelegate
in classTemplateEngine
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
- Overrides:
toString
in classTemplateEngine
-
equals
- Overrides:
equals
in classTemplateEngine
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTemplateEngine
-
create
- Parameters:
vertx
-- Returns:
- the engine
-
create
- Parameters:
vertx
-extension
-- Returns:
- the engine
-
create
- Parameters:
vertx
-extension
-encoding
-- Returns:
- the engine
-
newInstance
-