| 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 | Method and Description | 
|---|---|
| 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. exceptionHandler(Handler<Throwable> exceptionHandler)Deprecated. 
 you should use  errorHandler(int, Handler)with 500 status code | 
| Router | Router. modifiedHandler(Handler<Router> handler)When a Router routes are changed this handler is notified. | 
| Router | Router. mountSubRouter(String mountPoint,
              Router subRouter)Mount a sub router on this router | 
| static Router | Router. router(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 | 
| Route | Route. subRouter(Router subRouter)Use a (sub)  Routeras 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()Construct a new router based on spec. | 
| Modifier and Type | Method and Description | 
|---|---|
| default Router | SockJSHandler. bridge(BridgeOptions bridgeOptions)Deprecated.  | 
| default Router | SockJSHandler. bridge(BridgeOptions bridgeOptions,
      Handler<BridgeEvent> bridgeEventHandler)Deprecated.  | 
| 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(SockJSBridgeOptions)but specifying a handler
 that will receive bridge events. | 
| Router | SockJSHandler. socketHandler(Handler<SockJSSocket> handler)Set a SockJS socket handler. | 
| Modifier and Type | Method and Description | 
|---|---|
| Router | Router. getDelegate() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Router | Router. newInstance(Router arg) | 
| Constructor and Description | 
|---|
| Router(Router delegate) | 
| Modifier and Type | Method and Description | 
|---|---|
| Router | Router. getDelegate() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Router | Router. newInstance(Router arg) | 
| Constructor and Description | 
|---|
| Router(Router delegate) | 
| Modifier and Type | Method and Description | 
|---|---|
| static ServiceDiscoveryRestEndpoint | ServiceDiscoveryRestEndpoint. create(Router router,
      ServiceDiscovery discovery)Creates the REST endpoint using the default root ( /discovery). | 
| static ServiceDiscoveryRestEndpoint | ServiceDiscoveryRestEndpoint. create(Router router,
      ServiceDiscovery discovery,
      String root)Creates the REST endpoint using the given root. | 
Copyright © 2023 Eclipse. All rights reserved.