Route |
Route.blockingHandler(Handler<RoutingContext> requestHandler) |
|
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 |
Route.putMetadata(String key,
Object value) |
Put metadata to this route.
|
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
|
<T> Route |
Route.respond(java.util.function.Function<RoutingContext,Maybe<T>> function) |
Append a function request handler to the route handlers list.
|
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.setName(String name) |
Giving a name to a route will provide this name as metadata to requests matching this route.
|
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.useNormalizedPath(boolean useNormalizedPath) |
If true then the normalized request path will be used when routing (e.g.
|
Route |
Route.virtualHost(String hostnamePattern) |
Add a virtual host filter for this route.
|