Uses of Interface
io.vertx.ext.web.Route
Packages that use Route
Package
Description
-
Uses of Route in io.vertx.ext.web
Methods in io.vertx.ext.web that return RouteModifier and TypeMethodDescriptionRoute.blockingHandler(Handler<RoutingContext> requestHandler) LikeRoute.blockingHandler(Handler, boolean)called with ordered = trueRoute.blockingHandler(Handler<RoutingContext> requestHandler, boolean ordered) Specify a blocking request handler for the route.Router.connect()Add a route that matches any HTTP CONNECT requestAdd a route that matches a HTTP CONNECT request and the specified pathRouter.connectWithRegex(String regex) Add a route that matches a HTTP CONNECT request and the specified path regexAdd a content type consumed by this route.RoutingContext.currentRoute()Router.delete()Add a route that matches any HTTP DELETE requestAdd a route that matches a HTTP DELETE request and the specified pathRouter.deleteWithRegex(String regex) Add a route that matches a HTTP DELETE request and the specified path regexRoute.disable()Disable this route.Route.enable()Enable this route.Route.failureHandler(Handler<RoutingContext> failureHandler) Append a failure handler to the route failure handlers list.Router.get()Add a route that matches any HTTP GET requestAdd a route that matches a HTTP GET request and the specified pathRouter.getWithRegex(String regex) Add a route that matches a HTTP GET request and the specified path regexRoute.handler(Handler<RoutingContext> requestHandler) Append a request handler to the route handlers list.Router.head()Add a route that matches any HTTP HEAD requestAdd a route that matches a HTTP HEAD request and the specified pathRouter.headWithRegex(String regex) Add a route that matches a HTTP HEAD request and the specified path regexRoute.last()Specify this is the last route for the router.Route.method(HttpMethod method) Add an HTTP method for this route.Router.options()Add a route that matches any HTTP OPTIONS requestAdd a route that matches a HTTP OPTIONS request and the specified pathRouter.optionsWithRegex(String regex) Add a route that matches a HTTP OPTIONS request and the specified path regexRoute.order(int order) Specify the order for this route.Router.patch()Add a route that matches any HTTP PATCH requestAdd a route that matches a HTTP PATCH request and the specified pathRouter.patchWithRegex(String regex) Add a route that matches a HTTP PATCH request and the specified path regexSet the path prefix for this route.Set the path prefix as a regular expression.Router.post()Add a route that matches any HTTP POST requestAdd a route that matches a HTTP POST request and the specified pathRouter.postWithRegex(String regex) Add a route that matches a HTTP POST request and the specified path regexAdd a content type produced by this route.Router.put()Add a route that matches any HTTP PUT requestAdd a route that matches a HTTP PUT request and the specified pathRoute.putMetadata(String key, Object value) Put metadata to this route.Router.putWithRegex(String regex) Add a route that matches a HTTP PUT request and the specified path regexRoute.remove()Remove this route from the routerdefault <T> RouteRoute.respond(Function<RoutingContext, Future<T>> function) Append a function request handler to the route handlers list.Router.route()Add a route with no matching criteria, i.e. it matches all requests or failures.Router.route(HttpMethod method, String path) Add a route that matches the specified HTTP method and pathAdd a route that matches the specified pathRouter.routeWithRegex(HttpMethod method, String regex) Add a route that matches the specified HTTP method and path regexRouter.routeWithRegex(String regex) Add a route that matches the specified path regexGiving a name to a route will provide this name as metadata to requests matching this route.Route.setRegexGroupsNames(List<String> groups) When you add a new route with a regular expression, you can add named capture groups for parameters.Use a (sub)Routeras a handler.Router.trace()Add a route that matches any HTTP TRACE requestAdd a route that matches a HTTP TRACE request and the specified pathRouter.traceWithRegex(String regex) Add a route that matches a HTTP TRACE request and the specified path regexRoute.useNormalizedPath(boolean useNormalizedPath) If true then the normalized request path will be used when routing (e.g. removing duplicate /) Default is trueRoute.virtualHost(String hostnamePattern) Add a virtual host filter for this route.Methods in io.vertx.ext.web that return types with arguments of type Route -
Uses of Route in io.vertx.ext.web.handler
Methods in io.vertx.ext.web.handler with parameters of type RouteModifier and TypeMethodDescriptionOAuth2AuthHandler.setupCallback(Route route) add the callback handler to a given route.OtpAuthHandler.setupCallback(Route route) Setup the required route where authenticators to submit the challenge response.WebAuthn4JHandler.setupCallback(Route route) The callback route to verify attestations and assertions.WebAuthn4JHandler.setupCredentialsCreateCallback(Route route) The callback route to create registration attestations.WebAuthn4JHandler.setupCredentialsGetCallback(Route route) The callback route to create login attestations.OtpAuthHandler.setupRegisterCallback(Route route) Setup the optional route where authenticators are allowed to register. -
Uses of Route in io.vertx.reactivex.ext.web
Methods in io.vertx.reactivex.ext.web that return RouteMethods in io.vertx.reactivex.ext.web with parameters of type RouteConstructors in io.vertx.reactivex.ext.web with parameters of type Route -
Uses of Route in io.vertx.rxjava3.ext.web
Methods in io.vertx.rxjava3.ext.web that return RouteMethods in io.vertx.rxjava3.ext.web with parameters of type RouteConstructors in io.vertx.rxjava3.ext.web with parameters of type Route