Package | Description |
---|---|
io.vertx.ext.web | |
io.vertx.ext.web.handler | |
io.vertx.ext.web.templ |
Modifier and Type | Method and Description |
---|---|
RoutingContext |
RoutingContext.addCookie(io.vertx.core.http.Cookie cookie)
Add a cookie.
|
RoutingContext |
RoutingContext.addCookie(Cookie cookie)
Deprecated.
instead use
addCookie(io.vertx.core.http.Cookie) |
RoutingContext |
RoutingContext.put(String key,
Object obj)
Put some arbitrary data in the context.
|
Modifier and Type | Method and Description |
---|---|
void |
Router.handleContext(RoutingContext context)
Used to route a context to the router.
|
void |
Router.handleFailure(RoutingContext context)
Used to route a failure to the router.
|
Modifier and Type | Method and Description |
---|---|
Route |
Route.blockingHandler(io.vertx.core.Handler<RoutingContext> requestHandler)
Like
Route.blockingHandler(Handler, boolean) called with ordered = true |
Route |
Route.blockingHandler(io.vertx.core.Handler<RoutingContext> requestHandler,
boolean ordered)
Specify a blocking request handler for the route.
|
Router |
Router.errorHandler(int statusCode,
io.vertx.core.Handler<RoutingContext> errorHandler)
Specify an handler to handle an error for a particular status code.
|
Route |
Route.failureHandler(io.vertx.core.Handler<RoutingContext> failureHandler)
Append a failure handler to the route failure handlers list.
|
Route |
Route.handler(io.vertx.core.Handler<RoutingContext> requestHandler)
Append a request handler to the route handlers list.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthHandler.parseCredentials(RoutingContext context,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
Modifier and Type | Method and Description |
---|---|
static VirtualHostHandler |
VirtualHostHandler.create(String hostname,
io.vertx.core.Handler<RoutingContext> handler)
Create a handler
|
Modifier and Type | Method and Description |
---|---|
default void |
TemplateEngine.render(RoutingContext context,
String templateFileName,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler)
Deprecated.
|
default void |
TemplateEngine.render(RoutingContext context,
String templateDirectory,
String templateFileName,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler)
Deprecated.
|
Copyright © 2019 Eclipse. All rights reserved.