Class PebbleTemplateEngine
java.lang.Object
io.vertx.mutiny.ext.web.common.template.TemplateEngine
io.vertx.mutiny.ext.web.templ.pebble.PebbleTemplateEngine
- All Implemented Interfaces:
MutinyDelegate
A template engine that uses the Pebble library.
The
TemplateEngine.unwrap() shall return an object of class
NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeArg<PebbleTemplateEngine>static final StringDefault template extension -
Constructor Summary
ConstructorsConstructorDescriptionPebbleTemplateEngine(io.vertx.ext.web.templ.pebble.PebbleTemplateEngine delegate) PebbleTemplateEngine(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic PebbleTemplateEnginestatic PebbleTemplateEnginestatic PebbleTemplateEnginestatic PebbleTemplateEnginebooleanio.vertx.ext.web.templ.pebble.PebbleTemplateEngineinthashCode()static PebbleTemplateEnginenewInstance(io.vertx.ext.web.templ.pebble.PebbleTemplateEngine 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
-
PebbleTemplateEngine
public PebbleTemplateEngine(io.vertx.ext.web.templ.pebble.PebbleTemplateEngine delegate) -
PebbleTemplateEngine
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.templ.pebble.PebbleTemplateEngine 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
public static PebbleTemplateEngine create(Vertx vertx, com.mitchellbosecke.pebble.PebbleEngine engine) - Parameters:
vertx-engine-- Returns:
- the engine
-
create
public static PebbleTemplateEngine create(Vertx vertx, String extension, com.mitchellbosecke.pebble.PebbleEngine engine) - Parameters:
vertx-extension-engine-- Returns:
- the engine
-
newInstance
public static PebbleTemplateEngine newInstance(io.vertx.ext.web.templ.pebble.PebbleTemplateEngine arg)
-