class RouterImpl extends java.lang.Object implements Router, UsesDependencyService
An implementation of the Router interface that leverages the Vertx Router.
Constructor and description |
---|
RouterImpl() |
RouterImpl(io.vertx.ext.web.Router delegate) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
before(java.lang.String path, Handler handler) |
|
void |
before(Handler handler) |
|
void |
beforeRegex(java.lang.String pattern, Handler handler) |
|
Route |
delete(java.lang.String path) |
|
Route |
delete(java.lang.String path, Handler handler) |
|
Route |
get(java.lang.String path) |
|
Route |
get(java.lang.String path, Handler handler) |
|
io.vertx.ext.web.Router |
getDelegate() |
|
Route |
patch(java.lang.String path) |
|
Route |
patch(java.lang.String path, Handler handler) |
|
void |
path(java.lang.String path, StaticHandlerOptions handlerOptions) |
|
void |
path(java.lang.String path, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler) |
|
void |
path(java.lang.String prefix, java.lang.Class<? extends java.util.function.Consumer<Router>> consumerClass) |
|
void |
pathRegex(java.lang.String regex, StaticHandlerOptions handlerOptions) |
|
Route |
post(java.lang.String path) |
|
Route |
post(java.lang.String path, Handler handler) |
|
Route |
put(java.lang.String path) |
|
Route |
put(java.lang.String path, Handler handler) |
|
void |
use(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |