Package | Description |
---|---|
io.vertx.rxjava.ext.web | |
io.vertx.rxjava.ext.web.handler |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Route> |
Route.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
Route |
Route.blockingHandler(Handler<RoutingContext> requestHandler)
Like
blockingHandler(io.vertx.core.Handler<io.vertx.rxjava.ext.web.RoutingContext>) called with ordered = true |
Route |
Route.blockingHandler(Handler<RoutingContext> requestHandler,
boolean ordered)
Specify a blocking request handler for the route.
|
Route |
Router.connect()
Add a route that matches any HTTP CONNECT request
|
Route |
Router.connect(String path)
Add a route that matches a HTTP CONNECT request and the specified path
|
Route |
Router.connectWithRegex(String regex)
Add a route that matches a HTTP CONNECT request and the specified path regex
|
Route |
Route.consumes(String contentType)
Add a content type consumed by this route.
|
Route |
RoutingContext.currentRoute() |
Route |
Router.delete()
Add a route that matches any HTTP DELETE request
|
Route |
Router.delete(String path)
Add a route that matches a HTTP DELETE request and the specified path
|
Route |
Router.deleteWithRegex(String regex)
Add a route that matches a HTTP DELETE request and the specified path regex
|
Route |
Route.disable()
Disable this route.
|
Route |
Route.enable()
Enable this route.
|
Route |
Route.failureHandler(Handler<RoutingContext> failureHandler)
Append a failure handler to the route failure handlers list.
|
Route |
Router.get()
Add a route that matches any HTTP GET request
|
Route |
Router.get(String path)
Add a route that matches a HTTP GET request and the specified path
|
Route |
Router.getWithRegex(String regex)
Add a route that matches a HTTP GET request and the specified path regex
|
Route |
Route.handler(Handler<RoutingContext> requestHandler)
Append a request handler to the route handlers list.
|
Route |
Router.head()
Add a route that matches any HTTP HEAD request
|
Route |
Router.head(String path)
Add a route that matches a HTTP HEAD request and the specified path
|
Route |
Router.headWithRegex(String regex)
Add a route that matches a HTTP HEAD request and the specified path regex
|
Route |
Route.last()
Specify this is the last route for the router.
|
Route |
Route.method(HttpMethod method)
Add an HTTP method for this route.
|
static Route |
Route.newInstance(Route arg) |
Route |
Router.options()
Add a route that matches any HTTP OPTIONS request
|
Route |
Router.options(String path)
Add a route that matches a HTTP OPTIONS request and the specified path
|
Route |
Router.optionsWithRegex(String regex)
Add a route that matches a HTTP OPTIONS request and the specified path regex
|
Route |
Route.order(int order)
Specify the order for this route.
|
Route |
Router.patch()
Add a route that matches any HTTP PATCH request
|
Route |
Router.patch(String path)
Add a route that matches a HTTP PATCH request and the specified path
|
Route |
Router.patchWithRegex(String regex)
Add a route that matches a HTTP PATCH request and the specified path regex
|
Route |
Route.path(String path)
Set the path prefix for this route.
|
Route |
Route.pathRegex(String path)
Set the path prefix as a regular expression.
|
Route |
Router.post()
Add a route that matches any HTTP POST request
|
Route |
Router.post(String path)
Add a route that matches a HTTP POST request and the specified path
|
Route |
Router.postWithRegex(String regex)
Add a route that matches a HTTP POST request and the specified path regex
|
Route |
Route.produces(String contentType)
Add a content type produced by this route.
|
Route |
Router.put()
Add a route that matches any HTTP PUT request
|
Route |
Router.put(String path)
Add a route that matches a HTTP PUT request and the specified path
|
Route |
Router.putWithRegex(String regex)
Add a route that matches a HTTP PUT request and the specified path regex
|
Route |
Route.remove()
Remove this route from the router
|
Route |
Router.route()
Add a route with no matching criteria, i.e.
|
Route |
Router.route(HttpMethod method,
String path)
Add a route that matches the specified HTTP method and path
|
Route |
Router.route(String path)
Add a route that matches the specified path
|
Route |
Router.routeWithRegex(HttpMethod method,
String regex)
Add a route that matches the specified HTTP method and path regex
|
Route |
Router.routeWithRegex(String regex)
Add a route that matches the specified path regex
|
Route |
Route.setRegexGroupsNames(List<String> groups)
When you add a new route with a regular expression, you can add named capture groups for parameters.
|
Route |
Route.subRouter(Router subRouter)
Use a (sub)
Router as a handler. |
Route |
Router.trace()
Add a route that matches any HTTP TRACE request
|
Route |
Router.trace(String path)
Add a route that matches a HTTP TRACE request and the specified path
|
Route |
Router.traceWithRegex(String regex)
Add a route that matches a HTTP TRACE request and the specified path regex
|
Route |
Route.useNormalisedPath(boolean useNormalisedPath)
If true then the normalised request path will be used when routing (e.g.
|
Modifier and Type | Method and Description |
---|---|
List<Route> |
Router.getRoutes() |
Modifier and Type | Method and Description |
---|---|
OAuth2AuthHandler |
OAuth2AuthHandler.setupCallback(Route route)
add the callback handler to a given route.
|
Copyright © 2023 Eclipse. All rights reserved.