public interface io.vertx.ext.web.handler.TemplateHandler extends io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.vertx.ext.web.handler.TemplateHandler
super_class: java.lang.Object
{
public static final java.lang.String DEFAULT_TEMPLATE_DIRECTORY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "templates"
public static final java.lang.String DEFAULT_CONTENT_TYPE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "text/html"
public static final java.lang.String DEFAULT_INDEX_TEMPLATE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "index"
public abstract io.vertx.ext.web.handler.TemplateHandler setIndexTemplate(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/handler/TemplateHandler;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
indexTemplate
public static io.vertx.ext.web.handler.TemplateHandler create(io.vertx.ext.web.common.template.TemplateEngine);
descriptor: (Lio/vertx/ext/web/common/template/TemplateEngine;)Lio/vertx/ext/web/handler/TemplateHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new io.vertx.ext.web.handler.impl.TemplateHandlerImpl
dup
aload 0
ldc "templates"
ldc "text/html"
invokespecial io.vertx.ext.web.handler.impl.TemplateHandlerImpl.<init>:(Lio/vertx/ext/web/common/template/TemplateEngine;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 engine Lio/vertx/ext/web/common/template/TemplateEngine;
MethodParameters:
Name Flags
engine
public static io.vertx.ext.web.handler.TemplateHandler create(io.vertx.ext.web.common.template.TemplateEngine, java.lang.String, java.lang.String);
descriptor: (Lio/vertx/ext/web/common/template/TemplateEngine;Ljava/lang/String;Ljava/lang/String;)Lio/vertx/ext/web/handler/TemplateHandler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.ext.web.handler.impl.TemplateHandlerImpl
dup
aload 0
aload 1
aload 2
invokespecial io.vertx.ext.web.handler.impl.TemplateHandlerImpl.<init>:(Lio/vertx/ext/web/common/template/TemplateEngine;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 engine Lio/vertx/ext/web/common/template/TemplateEngine;
0 1 1 templateDirectory Ljava/lang/String;
0 1 2 contentType Ljava/lang/String;
MethodParameters:
Name Flags
engine
templateDirectory
contentType
}
Signature: Ljava/lang/Object;Lio/vertx/core/Handler<Lio/vertx/ext/web/RoutingContext;>;
SourceFile: "TemplateHandler.java"
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()