Uses of Interface
io.vertx.ext.web.Router
Packages that use Router
Package
Description
-
Uses of Router in io.vertx.ext.shell.term
Methods in io.vertx.ext.shell.term with parameters of type RouterModifier and TypeMethodDescriptionstatic TermServerTermServer.createHttpTermServer(Vertx vertx, Router router) Create a term server for the HTTP protocol, using an existing router.static TermServerTermServer.createHttpTermServer(Vertx vertx, Router router, HttpTermOptions options) Create a term server for the HTTP protocol, using an existing router. -
Uses of Router in io.vertx.ext.web
Methods in io.vertx.ext.web that return RouterModifier and TypeMethodDescriptionRouter.allowForward(AllowForwardHeaders allowForwardHeaders) Set whether the router should parse "forwarded"-type headersRouter.clear()Remove all the routes from this routerRouter.errorHandler(int statusCode, Handler<RoutingContext> errorHandler) Specify an handler to handle an error for a particular status code.Route.getSubRouter()Router.modifiedHandler(Handler<Router> handler) When a Router routes are changed this handler is notified.Router.putMetadata(String key, Object value) Put metadata to this router.static RouterCreate a routerRouter.uncaughtErrorHandler(Handler<RoutingContext> errorHandler) Specify an handler to handle an error for any status code that doesn't have a specific handler assigned.Methods in io.vertx.ext.web with parameters of type RouterMethod parameters in io.vertx.ext.web with type arguments of type RouterModifier and TypeMethodDescriptionRouter.modifiedHandler(Handler<Router> handler) When a Router routes are changed this handler is notified. -
Uses of Router in io.vertx.ext.web.handler.graphql
Methods in io.vertx.ext.web.handler.graphql that return Router -
Uses of Router in io.vertx.ext.web.handler.sockjs
Methods in io.vertx.ext.web.handler.sockjs that return RouterModifier and TypeMethodDescriptionSockJSHandler.bridge(AuthorizationProvider authorizationProvider, SockJSBridgeOptions bridgeOptions, Handler<BridgeEvent> bridgeEventHandler) LikeSockJSHandler.bridge(SockJSBridgeOptions)but specifying a handler that will receive bridge events.default RouterSockJSHandler.bridge(SockJSBridgeOptions bridgeOptions) Bridge the SockJS handler to the Vert.x event bus.default RouterSockJSHandler.bridge(SockJSBridgeOptions bridgeOptions, Handler<BridgeEvent> bridgeEventHandler) LikeSockJSHandler.bridge(SockJSBridgeOptions)but specifying a handler that will receive bridge events.SockJSHandler.socketHandler(Handler<SockJSSocket> handler) Set a SockJS socket handler. -
Uses of Router in io.vertx.ext.web.openapi.router
Methods in io.vertx.ext.web.openapi.router that return RouterModifier and TypeMethodDescriptionRouterBuilder.createRouter()Construct a new router based on the related OpenAPI contract. -
Uses of Router in io.vertx.reactivex.ext.web
Methods in io.vertx.reactivex.ext.web that return RouterMethods in io.vertx.reactivex.ext.web with parameters of type RouterConstructors in io.vertx.reactivex.ext.web with parameters of type Router -
Uses of Router in io.vertx.rxjava3.ext.web
Methods in io.vertx.rxjava3.ext.web that return RouterMethods in io.vertx.rxjava3.ext.web with parameters of type RouterConstructors in io.vertx.rxjava3.ext.web with parameters of type Router -
Uses of Router in io.vertx.servicediscovery.rest
Methods in io.vertx.servicediscovery.rest with parameters of type RouterModifier and TypeMethodDescriptionstatic ServiceDiscoveryRestEndpointServiceDiscoveryRestEndpoint.create(Router router, ServiceDiscovery discovery) Creates the REST endpoint using the default root (/discovery).static ServiceDiscoveryRestEndpointServiceDiscoveryRestEndpoint.create(Router router, ServiceDiscovery discovery, String root) Creates the REST endpoint using the given root.