| Modifier and Type | Method and Description |
|---|---|
RoutingContext |
RoutingContext.addCookie(Cookie cookie)
Add a 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(Handler<RoutingContext> requestHandler)
Like
Route.blockingHandler(Handler, boolean) called with ordered = true |
Route |
Route.blockingHandler(Handler<RoutingContext> requestHandler,
boolean ordered)
Specify a blocking request handler for the route.
|
Route |
Route.failureHandler(Handler<RoutingContext> failureHandler)
Specify a failure handler for the route.
|
Route |
Route.handler(Handler<RoutingContext> requestHandler)
Specify a request handler for the route.
|
| Modifier and Type | Field and Description |
|---|---|
static Handler<RoutingContext> |
RouterFactoryOptions.DEFAULT_NOT_IMPLEMENTED_HANDLER
Default not implemented handler.
|
static Handler<RoutingContext> |
RouterFactoryOptions.DEFAULT_VALIDATION_HANDLER
Default validation failure handler.
|
| Modifier and Type | Method and Description |
|---|---|
List<Handler<RoutingContext>> |
RouterFactoryOptions.getGlobalHandlers() |
Handler<RoutingContext> |
RouterFactoryOptions.getNotImplementedFailureHandler() |
Handler<RoutingContext> |
RouterFactoryOptions.getValidationFailureHandler() |
| Modifier and Type | Method and Description |
|---|---|
RouterFactory |
RouterFactory.addFailureHandler(HttpMethod method,
String path,
Handler<RoutingContext> failureHandler)
Deprecated.
|
RouterFactoryOptions |
RouterFactoryOptions.addGlobalHandler(Handler<RoutingContext> globalHandler)
Add global handler to be applied prior to
Router being generated. |
RouterFactory |
RouterFactory.addHandler(HttpMethod method,
String path,
Handler<RoutingContext> handler)
Deprecated.
|
RouterFactory |
RouterFactory.addSecurityHandler(String securitySchemaName,
Handler<RoutingContext> handler)
Mount to paths that have to follow a security schema a security handler
|
RouterFactoryOptions |
RouterFactoryOptions.setNotImplementedFailureHandler(Handler<RoutingContext> notImplementedFailureHandler)
Set not implemented failure handler.
|
RouterFactoryOptions |
RouterFactoryOptions.setValidationFailureHandler(Handler<RoutingContext> validationFailureHandler)
Set default validation failure handler.
|
RouterFactory |
RouterFactory.setValidationFailureHandler(Handler<RoutingContext> handler)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.addFailureHandlerByOperationId(String operationId,
Handler<RoutingContext> failureHandler)
Add a failure handler by operation_id field in Operation object
|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.addHandlerByOperationId(String operationId,
Handler<RoutingContext> handler)
Add an handler by operation_id field in Operation object
|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.addSecuritySchemaScopeValidator(String securitySchemaName,
String scopeName,
Handler<RoutingContext> handler)
Add a particular scope validator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CustomValidator.validate(RoutingContext routingContext)
This function have to be synchronous.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<JsonObject>> handler)
Parses the credentials from the request into a JsonObject.
|
| Modifier and Type | Method and Description |
|---|---|
static VirtualHostHandler |
VirtualHostHandler.create(String hostname,
Handler<RoutingContext> handler)
Create a handler
|
| Modifier and Type | Method and Description |
|---|---|
default void |
TemplateEngine.render(RoutingContext context,
String templateFileName,
Handler<AsyncResult<Buffer>> handler)
Deprecated.
|
void |
TemplateEngine.render(RoutingContext context,
String templateDirectory,
String templateFileName,
Handler<AsyncResult<Buffer>> handler)
Render the template
|
| Modifier and Type | Method and Description |
|---|---|
RoutingContext |
RoutingContext.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static RoutingContext |
RoutingContext.newInstance(RoutingContext arg) |
| Constructor and Description |
|---|
RoutingContext(RoutingContext delegate) |
| Modifier and Type | Method and Description |
|---|---|
RoutingContext |
RoutingContext.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static RoutingContext |
RoutingContext.newInstance(RoutingContext arg) |
| Constructor and Description |
|---|
RoutingContext(RoutingContext delegate) |
Copyright © 2018 Eclipse. All rights reserved.