public interface PlugRouter
「Extension」 Name: Dynamic Router Basic dynamic spec extension, every dynamic router must implements this interface for building dynamic routing system. 1. The router system will mount to default Order: 6_000_000, it means that dynamic router priority is lower than ZERO Standard: ( 5_000_000 ). 2. There is a default method implementation and to nothing, one you have no implementation in extension plugins, it’s also available and do not impact Standard Part.
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_ROUTER |
| Modifier and Type | Method and Description |
|---|---|
default void |
bind(io.vertx.core.Vertx vertx) |
static io.vertx.core.json.JsonObject |
config() |
default int |
getOrder()
We suggest do not overwrite this value once you haven’t known the internal architecture of Zero Framework.
|
void |
mount(io.vertx.ext.web.Router router,
io.vertx.core.json.JsonObject config) |
static final String KEY_ROUTER
static io.vertx.core.json.JsonObject config()
void mount(io.vertx.ext.web.Router router,
io.vertx.core.json.JsonObject config)
default void bind(io.vertx.core.Vertx vertx)
default int getOrder()
We suggest do not overwrite this value once you haven’t known the internal architecture of Zero Framework.
Copyright © 2021. All rights reserved.