Class BaseRoutableVerticle
- java.lang.Object
-
- io.vertx.core.AbstractVerticle
-
- ai.konduit.serving.verticles.base.BaseRoutableVerticle
-
-
Constructor Summary
Constructors Constructor Description BaseRoutableVerticle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.ext.web.Routerrouter()Returns theRouterassociated with this objectprotected voidsetupWebServer(io.vertx.core.Promise<java.lang.Void> startPromise)Start an http server the port with the value configured as the httpPort key found inAbstractVerticle.config()voidstart(io.vertx.core.Promise<java.lang.Void> startPromise)voidstop(io.vertx.core.Promise<java.lang.Void> stopPromise)io.vertx.core.Vertxvertx()Returns theVertxinstance associated with this object
-
-
-
Method Detail
-
setupWebServer
protected void setupWebServer(io.vertx.core.Promise<java.lang.Void> startPromise)
Start an http server the port with the value configured as the httpPort key found inAbstractVerticle.config()
-
start
public void start(io.vertx.core.Promise<java.lang.Void> startPromise)
- Specified by:
startin interfaceio.vertx.core.Verticle
-
stop
public void stop(io.vertx.core.Promise<java.lang.Void> stopPromise)
- Specified by:
stopin interfaceio.vertx.core.Verticle
-
router
public io.vertx.ext.web.Router router()
Description copied from interface:RoutableReturns theRouterassociated with this object
-
-