| Modifier and Type | Field and Description |
|---|---|
protected int |
port |
protected io.vertx.ext.web.Router |
router |
| Constructor and Description |
|---|
BaseRoutableVerticle() |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.ext.web.Router |
router()
Returns the
Router
associated with this object |
protected void |
setupWebServer(io.vertx.core.Promise<Void> startPromise)
Start an http server the port with the value configured
as the httpPort key found in
AbstractVerticle.config() |
void |
start(io.vertx.core.Promise<Void> startPromise) |
void |
stop(io.vertx.core.Promise<Void> stopPromise) |
io.vertx.core.Vertx |
vertx()
Returns the
Vertx
instance associated with this object |
protected void setupWebServer(io.vertx.core.Promise<Void> startPromise)
AbstractVerticle.config()public void start(io.vertx.core.Promise<Void> startPromise)
start in interface io.vertx.core.Verticlepublic void stop(io.vertx.core.Promise<Void> stopPromise)
stop in interface io.vertx.core.Verticlepublic io.vertx.ext.web.Router router()
RoutableRouter
associated with this objectCopyright © 2022. All rights reserved.