Class DevConsole
- java.lang.Object
-
- io.quarkus.vertx.http.deployment.devmode.console.DevConsole
-
- All Implemented Interfaces:
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
public class DevConsole extends Object implements io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
This is a Handler running in the Dev Vert.x instance (which is loaded by the Augmentation ClassLoader) and has access to build time stuff
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.eclipse.microprofile.config.Configconfig(package private) static ThreadLocal<String>currentExtension(package private) StringdevRootAppend(package private) Engineengine(package private) Map<String,Map<String,Object>>extensions(package private) Map<String,Object>globalData
-
Constructor Summary
Constructors Constructor Description DevConsole(Engine engine, String httpRootPath, String frameworkRootPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(io.vertx.ext.web.RoutingContext ctx)protected voidrenderTemplate(io.vertx.ext.web.RoutingContext event, TemplateInstance template)voidsendMainPage(io.vertx.ext.web.RoutingContext event)
-
-
-
Field Detail
-
currentExtension
static final ThreadLocal<String> currentExtension
-
engine
final Engine engine
-
config
final org.eclipse.microprofile.config.Config config
-
devRootAppend
final String devRootAppend
-
-
Method Detail
-
handle
public void handle(io.vertx.ext.web.RoutingContext ctx)
- Specified by:
handlein interfaceio.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
-
renderTemplate
protected void renderTemplate(io.vertx.ext.web.RoutingContext event, TemplateInstance template)
-
sendMainPage
public void sendMainPage(io.vertx.ext.web.RoutingContext event)
-
-