Modifier and Type | Method and Description |
---|---|
static TermServer |
TermServer.createHttpTermServer(Vertx vertx,
Router router)
Create a term server for the HTTP protocol, using an existing router.
|
static TermServer |
TermServer.createHttpTermServer(Vertx vertx,
Router router,
HttpTermOptions options)
Create a term server for the HTTP protocol, using an existing router.
|
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Router> |
Router.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
Router |
Router.allowForward(AllowForwardHeaders allowForwardHeaders)
Set whether the router should parse "forwarded"-type headers
|
Router |
Router.clear()
Remove all the routes from this router
|
Router |
Router.errorHandler(int statusCode,
Handler<RoutingContext> errorHandler)
Specify an handler to handle an error for a particular status code.
|
Router |
Router.modifiedHandler(Handler<Router> handler)
When a Router routes are changed this handler is notified.
|
static Router |
Router.newInstance(Router arg) |
Router |
Router.putMetadata(String key,
Object value)
Put metadata to this router.
|
static Router |
Router.router(Vertx vertx)
Create a router
|
Modifier and Type | Method and Description |
---|---|
Route |
Router.mountSubRouter(String mountPoint,
Router subRouter)
Deprecated.
|
Route |
Route.subRouter(Router subRouter)
Use a (sub)
Router as a handler. |
Modifier and Type | Method and Description |
---|---|
Router |
Router.modifiedHandler(Handler<Router> handler)
When a Router routes are changed this handler is notified.
|
Modifier and Type | Method and Description |
---|---|
Router |
RouterFactory.getRouter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Router |
OpenAPI3RouterFactory.getRouter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Router |
SockJSHandler.bridge(AuthorizationProvider authorizationProvider,
SockJSBridgeOptions bridgeOptions,
Handler<BridgeEvent> bridgeEventHandler)
Like
SockJSHandler.bridge(io.vertx.ext.web.handler.sockjs.SockJSBridgeOptions) but specifying a handler
that will receive bridge events. |
Router |
SockJSHandler.bridge(SockJSBridgeOptions bridgeOptions)
Bridge the SockJS handler to the Vert.x event bus.
|
Router |
SockJSHandler.bridge(SockJSBridgeOptions bridgeOptions,
Handler<BridgeEvent> bridgeEventHandler)
Like
SockJSHandler.bridge(io.vertx.ext.web.handler.sockjs.SockJSBridgeOptions) but specifying a handler
that will receive bridge events. |
Router |
SockJSHandler.socketHandler(Handler<SockJSSocket> handler)
Set a SockJS socket handler.
|
Copyright © 2024 Eclipse. All rights reserved.