Package io.vertx.up.extension
Interface PlugRouter
-
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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringKEY_ROUTER
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidbind(io.vertx.core.Vertx vertx)static io.vertx.core.json.JsonObjectconfig()default intgetOrder()We suggest do not overwrite this value once you haven't known the internal architecture of Zero Framework.voidmount(io.vertx.ext.web.Router router, io.vertx.core.json.JsonObject config)
-
-
-
Field Detail
-
KEY_ROUTER
static final String KEY_ROUTER
- See Also:
- Constant Field Values
-
-
Method Detail
-
config
static io.vertx.core.json.JsonObject config()
-
mount
void mount(io.vertx.ext.web.Router router, io.vertx.core.json.JsonObject config)
-
bind
default void bind(io.vertx.core.Vertx vertx)
-
getOrder
default int getOrder()
We suggest do not overwrite this value once you haven't known the internal architecture of Zero Framework.
-
-