Modifier and Type | Method and Description |
---|---|
void |
HystrixMetricHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
Modifier and Type | Method and Description |
---|---|
void |
HealthCheckHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<RoutingContext> |
RoutingContext.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
RoutingContext |
RoutingContext.addCookie(Cookie cookie)
Add a cookie.
|
RoutingContext |
RoutingContext.attachment(String filename)
Set Content-Disposition get to "attachment" with optional
filename mime type. |
RoutingContext |
RoutingContext.end()
|
RoutingContext |
RoutingContext.end(Buffer buffer)
|
RoutingContext |
RoutingContext.end(Buffer buffer,
Handler<AsyncResult<Void>> handler)
|
RoutingContext |
RoutingContext.end(Handler<AsyncResult<Void>> handler)
|
RoutingContext |
RoutingContext.end(String chunk)
|
RoutingContext |
RoutingContext.end(String chunk,
Handler<AsyncResult<Void>> handler)
|
RoutingContext |
RoutingContext.etag(String etag)
Set the ETag of a response.
|
RoutingContext |
RoutingContext.json(Object json)
|
RoutingContext |
RoutingContext.json(Object json,
Handler<AsyncResult<Void>> handler)
|
RoutingContext |
RoutingContext.lastModified(java.time.Instant instant)
Set the Last-Modified date using a Instant.
|
RoutingContext |
RoutingContext.lastModified(String instant)
Set the Last-Modified date using a String.
|
static RoutingContext |
RoutingContext.newInstance(RoutingContext arg) |
RoutingContext |
RoutingContext.put(String key,
Object obj)
Put some arbitrary data in the context.
|
RoutingContext |
RoutingContext.redirect(String url)
|
RoutingContext |
RoutingContext.redirect(String url,
Handler<AsyncResult<Void>> handler)
|
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(io.vertx.core.Handler<io.vertx.reactivex.ext.web.RoutingContext>) called with ordered = true |
Route |
Route.blockingHandler(Handler<RoutingContext> requestHandler,
boolean ordered)
Specify a blocking request handler for the route.
|
Router |
Router.errorHandler(int statusCode,
Handler<RoutingContext> errorHandler)
Specify an handler to handle an error for a particular status code.
|
Route |
Route.failureHandler(Handler<RoutingContext> failureHandler)
Append a failure handler to the route failure handlers list.
|
Route |
Route.handler(Handler<RoutingContext> requestHandler)
Append a request handler to the route handlers list.
|
<T> Route |
Route.respond(java.util.function.Function<RoutingContext,Future<T>> function)
Append a function request handler to the route handlers list.
|
<T> Route |
Route.respond(Function<RoutingContext,Maybe<T>> function)
Append a function request handler to the route handlers list.
|
Modifier and Type | Method and Description |
---|---|
Handler<RoutingContext> |
RouterFactory.getValidationFailureHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
HTTPOperationRequestValidationHandler.handle(RoutingContext event)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RouterFactory |
RouterFactory.addGlobalHandler(Handler<RoutingContext> globalHandler)
Deprecated.
|
RouterFactory |
RouterFactory.addSecurityHandler(String securitySchemaName,
Handler<RoutingContext> handler)
Deprecated.
|
RouterFactory |
RouterFactory.setExtraOperationContextPayloadMapper(java.util.function.Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper)
Deprecated.
|
RouterFactory |
RouterFactory.setNotImplementedFailureHandler(Handler<RoutingContext> notImplementedFailureHandler)
Deprecated.
|
RouterFactory |
RouterFactory.setValidationFailureHandler(Handler<RoutingContext> validationFailureHandler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Handler<RoutingContext> |
OpenAPI3RouterFactory.getValidationFailureHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
OpenAPI3RequestValidationHandler.handle(RoutingContext event)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.addFailureHandlerByOperationId(String operationId,
Handler<RoutingContext> failureHandler)
Deprecated.
|
RouterFactory |
OpenAPI3RouterFactory.addGlobalHandler(Handler<RoutingContext> globalHandler)
Deprecated.
|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.addHandlerByOperationId(String operationId,
Handler<RoutingContext> handler)
Deprecated.
|
RouterFactory |
OpenAPI3RouterFactory.addSecurityHandler(String securitySchemaName,
Handler<RoutingContext> handler)
Deprecated.
|
OpenAPI3RouterFactory |
OpenAPI3RouterFactory.addSecuritySchemaScopeValidator(String securitySchemaName,
String scopeName,
Handler<RoutingContext> handler)
Deprecated.
|
RouterFactory |
OpenAPI3RouterFactory.setExtraOperationContextPayloadMapper(java.util.function.Function<RoutingContext,JsonObject> extraOperationContextPayloadMapper)
Deprecated.
|
RouterFactory |
OpenAPI3RouterFactory.setNotImplementedFailureHandler(Handler<RoutingContext> notImplementedFailureHandler)
Deprecated.
|
RouterFactory |
OpenAPI3RouterFactory.setValidationFailureHandler(Handler<RoutingContext> validationFailureHandler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
HTTPRequestValidationHandler.handle(RoutingContext event)
Deprecated.
|
void |
ValidationHandler.handle(RoutingContext event)
Deprecated.
|
void |
CustomValidator.validate(RoutingContext routingContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
AuthHandler.authenticateHeader(RoutingContext context)
Deprecated.
|
String |
BasicAuthHandler.authenticateHeader(RoutingContext context)
Returns
|
String |
DigestAuthHandler.authenticateHeader(RoutingContext context)
Returns
|
String |
AuthenticationHandler.authenticateHeader(RoutingContext context)
Returns
|
String |
JWTAuthHandler.authenticateHeader(RoutingContext context)
Returns
|
String |
RedirectAuthHandler.authenticateHeader(RoutingContext context)
Returns
|
String |
ChainAuthHandler.authenticateHeader(RoutingContext context)
Returns
|
String |
OAuth2AuthHandler.authenticateHeader(RoutingContext context)
Returns
|
SessionHandler |
SessionHandler.flush(RoutingContext ctx)
Flush a context session earlier to the store, this will allow the end user to have full control on the event of
a failure at the store level.
|
SessionHandler |
SessionHandler.flush(RoutingContext ctx,
boolean ignoreStatus)
Flush a context session earlier to the store, this will allow the end user to have full control on the event of
a failure at the store level.
|
SessionHandler |
SessionHandler.flush(RoutingContext ctx,
boolean ignoreStatus,
Handler<AsyncResult<Void>> handler)
Flush a context session earlier to the store, this will allow the end user to have full control on the event of
a failure at the store level.
|
SessionHandler |
SessionHandler.flush(RoutingContext ctx,
Handler<AsyncResult<Void>> handler)
Flush a context session earlier to the store, this will allow the end user to have full control on the event of
a failure at the store level.
|
void |
TimeoutHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
AuthHandler.handle(RoutingContext event)
Deprecated.
|
void |
BasicAuthHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
MethodOverrideHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
CorsHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
DigestAuthHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
AuthenticationHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
ResponseTimeHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
ResponseContentTypeHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
CSRFHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
FaviconHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
JWTAuthHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
RedirectAuthHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
HSTSHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
MultiTenantHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
FormLoginHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
XFrameHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
AuthorizationHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
BodyHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
ErrorHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
WebAuthnHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
TemplateHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
ChainAuthHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
CSPHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
SessionHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
StaticHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
OAuth2AuthHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
LoggerHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
Session |
SessionHandler.newSession(RoutingContext context)
Create a new session
|
void |
BasicAuthHandler.parseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
void |
DigestAuthHandler.parseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
void |
JWTAuthHandler.parseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
void |
RedirectAuthHandler.parseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
void |
ChainAuthHandler.parseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
void |
OAuth2AuthHandler.parseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
void |
BasicAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<Credentials>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
DigestAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<Credentials>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
JWTAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<Credentials>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
RedirectAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<Credentials>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
ChainAuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<Credentials>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
OAuth2AuthHandler.parseCredentials(RoutingContext context,
Handler<AsyncResult<Credentials>> handler)
Parses the credentials from the request into a JsonObject.
|
void |
AuthHandler.postAuthentication(RoutingContext ctx)
Deprecated.
|
void |
BasicAuthHandler.postAuthentication(RoutingContext ctx)
This method is called to perform any post authentication tasks, such as redirects.
|
void |
DigestAuthHandler.postAuthentication(RoutingContext ctx)
This method is called to perform any post authentication tasks, such as redirects.
|
void |
AuthenticationHandler.postAuthentication(RoutingContext ctx)
This method is called to perform any post authentication tasks, such as redirects.
|
void |
JWTAuthHandler.postAuthentication(RoutingContext ctx)
This method is called to perform any post authentication tasks, such as redirects.
|
void |
RedirectAuthHandler.postAuthentication(RoutingContext ctx)
This method is called to perform any post authentication tasks, such as redirects.
|
void |
ChainAuthHandler.postAuthentication(RoutingContext ctx)
This method is called to perform any post authentication tasks, such as redirects.
|
void |
OAuth2AuthHandler.postAuthentication(RoutingContext ctx)
This method is called to perform any post authentication tasks, such as redirects.
|
Completable |
SessionHandler.rxFlush(RoutingContext ctx)
Flush a context session earlier to the store, this will allow the end user to have full control on the event of
a failure at the store level.
|
Completable |
SessionHandler.rxFlush(RoutingContext ctx,
boolean ignoreStatus)
Flush a context session earlier to the store, this will allow the end user to have full control on the event of
a failure at the store level.
|
Single<Credentials> |
BasicAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<Credentials> |
DigestAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<Credentials> |
JWTAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<Credentials> |
RedirectAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<Credentials> |
ChainAuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Single<Credentials> |
OAuth2AuthHandler.rxParseCredentials(RoutingContext context)
Parses the credentials from the request into a JsonObject.
|
Completable |
SessionHandler.rxSetUser(RoutingContext context,
User user)
Set the user for the session
|
SessionHandler |
SessionHandler.setUser(RoutingContext context,
User user)
Set the user for the session
|
SessionHandler |
SessionHandler.setUser(RoutingContext context,
User user,
Handler<AsyncResult<Void>> handler)
Set the user for the session
|
Modifier and Type | Method and Description |
---|---|
MultiTenantHandler |
MultiTenantHandler.addDefaultHandler(Handler<RoutingContext> handler)
Add a default handler for the case when no tenant was matched.
|
MultiTenantHandler |
MultiTenantHandler.addTenantHandler(String tenant,
Handler<RoutingContext> handler)
Add a handler for a given tenant to this handler.
|
static MultiTenantHandler |
MultiTenantHandler.create(java.util.function.Function<RoutingContext,String> tenantExtractor)
Create a MultiTenant handler using a custom tenant extraction function.
|
static MultiTenantHandler |
MultiTenantHandler.create(java.util.function.Function<RoutingContext,String> tenantExtractor,
String contextKey)
Create a MultiTenant handler using a custom tenant extraction function.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphiQLHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
GraphQLHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
void |
ApolloWSHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
Modifier and Type | Method and Description |
---|---|
GraphQLHandler |
GraphQLHandler.dataLoaderRegistry(java.util.function.Function<RoutingContext,org.dataloader.DataLoaderRegistry> factory)
Customize the .
|
GraphiQLHandler |
GraphiQLHandler.graphiQLRequestHeaders(java.util.function.Function<RoutingContext,MultiMap> factory)
Customize the HTTP headers to add to GraphQL requests sent by the GraphiQL user interface.
|
GraphQLHandler |
GraphQLHandler.locale(java.util.function.Function<RoutingContext,Locale> factory)
Customize the passed to the GraphQL execution engine.
|
GraphQLHandler |
GraphQLHandler.queryContext(java.util.function.Function<RoutingContext,Object> factory)
Customize the query context object.
|
Modifier and Type | Method and Description |
---|---|
RoutingContext |
SockJSSocket.routingContext() |
Modifier and Type | Method and Description |
---|---|
void |
SockJSHandler.handle(RoutingContext routingContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Operation.failureHandler(Handler<RoutingContext> handler)
Mount a failure handler for this operation
|
Operation |
Operation.handler(Handler<RoutingContext> handler)
Mount an handler for this operation
|
RouterBuilder |
RouterBuilder.rootHandler(Handler<RoutingContext> rootHandler)
Add global handler to be applied prior to being generated.
|
RouterBuilder |
RouterBuilder.serviceExtraPayloadMapper(java.util.function.Function<RoutingContext,JsonObject> serviceExtraPayloadMapper)
When set, this function is called while creating the payload of
|
Modifier and Type | Method and Description |
---|---|
RequestPredicateResult |
RequestPredicate.apply(RoutingContext in) |
void |
ValidationHandler.handle(RoutingContext event)
Something has happened, so handle it.
|
Modifier and Type | Method and Description |
---|---|
static Handler<RoutingContext> |
PrometheusScrapingHandler.create()
Creates a Vert.x Web
Route handler for Prometheus metrics scraping. |
static Handler<RoutingContext> |
PrometheusScrapingHandler.create(String registryName)
Creates a Vert.x Web
Route handler for Prometheus metrics scraping. |
Copyright © 2021 Eclipse. All rights reserved.