Package | Description |
---|---|
io.vertx.ext.web |
Modifier and Type | Method and Description |
---|---|
Router |
Router.clear()
Remove all the routes from this router
|
Router |
Router.errorHandler(int statusCode,
io.vertx.core.Handler<RoutingContext> errorHandler)
Specify an handler to handle an error for a particular status code.
|
Router |
Router.exceptionHandler(io.vertx.core.Handler<Throwable> exceptionHandler)
Deprecated.
you should use
errorHandler(int, Handler) with 500 status code |
Router |
Router.mountSubRouter(String mountPoint,
Router subRouter)
Mount a sub router on this router
|
static Router |
Router.router(io.vertx.core.Vertx vertx)
Create a router
|
Modifier and Type | Method and Description |
---|---|
Router |
Router.mountSubRouter(String mountPoint,
Router subRouter)
Mount a sub router on this router
|
Copyright © 2019 Eclipse. All rights reserved.