Uses of Class
io.vertx.reactivex.ext.web.RoutingContext
-
-
Uses of RoutingContext in io.vertx.reactivex.ext.web
Fields in io.vertx.reactivex.ext.web with type parameters of type RoutingContext Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<RoutingContext>RoutingContext. __TYPE_ARGMethods in io.vertx.reactivex.ext.web that return RoutingContext Modifier and Type Method Description RoutingContextRoutingContext. attachment(String filename)Set Content-Disposition get to "attachment" with optionalfilenamemime type.RoutingContextRoutingContext. etag(String etag)Set the ETag of a response.RoutingContextRoutingContext. lastModified(String instant)Set the Last-Modified date using a String.RoutingContextRoutingContext. lastModified(Instant instant)Set the Last-Modified date using a Instant.static RoutingContextRoutingContext. newInstance(RoutingContext arg)RoutingContextRoutingContext. put(String key, Object obj)Put some arbitrary data in the context.Methods in io.vertx.reactivex.ext.web with parameters of type RoutingContext Modifier and Type Method Description voidRouter. handleContext(RoutingContext context)Used to route a context to the router.voidRouter. handleFailure(RoutingContext context)Used to route a failure to the router.Method parameters in io.vertx.reactivex.ext.web with type arguments of type RoutingContext Modifier and Type Method Description RouteRoute. blockingHandler(Handler<RoutingContext> requestHandler)LikeRoute.blockingHandler(io.vertx.core.Handler<io.vertx.reactivex.ext.web.RoutingContext>)called with ordered = trueRouteRoute. blockingHandler(Handler<RoutingContext> requestHandler, boolean ordered)Specify a blocking request handler for the route.RouterRouter. errorHandler(int statusCode, Handler<RoutingContext> errorHandler)Specify an handler to handle an error for a particular status code.RouteRoute. failureHandler(Handler<RoutingContext> failureHandler)Append a failure handler to the route failure handlers list.RouteRoute. handler(Handler<RoutingContext> requestHandler)Append a request handler to the route handlers list.<T> RouteRoute. respond(Function<RoutingContext,Maybe<T>> function)Append a function request handler to the route handlers list.<T> RouteRoute. respond(Function<RoutingContext,Future<T>> function)Append a function request handler to the route handlers list. -
Uses of RoutingContext in io.vertx.reactivex.ext.web.handler
Methods in io.vertx.reactivex.ext.web.handler with parameters of type RoutingContext Modifier and Type Method Description Future<Void>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.Future<Void>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.StringLoggerFormatter. format(RoutingContext routingContext, long ms)Formats and returns the log statementvoidAPIKeyHandler. handle(RoutingContext event)Something has happened, so handle it.voidAuthenticationHandler. handle(RoutingContext event)Something has happened, so handle it.voidAuthorizationHandler. handle(RoutingContext event)Something has happened, so handle it.voidBasicAuthHandler. handle(RoutingContext event)Something has happened, so handle it.voidBodyHandler. handle(RoutingContext event)Something has happened, so handle it.voidChainAuthHandler. handle(RoutingContext event)Something has happened, so handle it.voidCorsHandler. handle(RoutingContext event)Something has happened, so handle it.voidCSPHandler. handle(RoutingContext event)Something has happened, so handle it.voidCSRFHandler. handle(RoutingContext event)Something has happened, so handle it.voidDigestAuthHandler. handle(RoutingContext event)Something has happened, so handle it.voidErrorHandler. handle(RoutingContext event)Something has happened, so handle it.voidFaviconHandler. handle(RoutingContext event)Something has happened, so handle it.voidFormLoginHandler. handle(RoutingContext event)Something has happened, so handle it.voidHSTSHandler. handle(RoutingContext event)Something has happened, so handle it.voidInputTrustHandler. handle(RoutingContext event)Something has happened, so handle it.voidJWTAuthHandler. handle(RoutingContext event)Something has happened, so handle it.voidLoggerHandler. handle(RoutingContext event)Something has happened, so handle it.voidMethodOverrideHandler. handle(RoutingContext event)Something has happened, so handle it.voidMultiTenantHandler. handle(RoutingContext event)Something has happened, so handle it.voidOAuth2AuthHandler. handle(RoutingContext event)Something has happened, so handle it.voidOtpAuthHandler. handle(RoutingContext event)Something has happened, so handle it.voidPlatformHandler. handle(RoutingContext event)Something has happened, so handle it.voidProtocolUpgradeHandler. handle(RoutingContext event)Something has happened, so handle it.voidRedirectAuthHandler. handle(RoutingContext event)Something has happened, so handle it.voidResponseContentTypeHandler. handle(RoutingContext event)Something has happened, so handle it.voidResponseTimeHandler. handle(RoutingContext event)Something has happened, so handle it.voidSecurityAuditLoggerHandler. handle(RoutingContext event)Something has happened, so handle it.voidSecurityPolicyHandler. handle(RoutingContext event)Something has happened, so handle it.voidSessionHandler. handle(RoutingContext event)Something has happened, so handle it.voidSimpleAuthenticationHandler. handle(RoutingContext event)Something has happened, so handle it.voidStaticHandler. handle(RoutingContext event)Something has happened, so handle it.voidTemplateHandler. handle(RoutingContext event)Something has happened, so handle it.voidTimeoutHandler. handle(RoutingContext event)Something has happened, so handle it.voidWebAuthn4JHandler. handle(RoutingContext event)Something has happened, so handle it.voidXFrameHandler. handle(RoutingContext event)Something has happened, so handle it.SessionSessionHandler. newSession(RoutingContext context)Create a new sessionCompletableSessionHandler. 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.CompletableSessionHandler. 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.CompletableSessionHandler. rxSetUser(RoutingContext context, User user)Set the user for the sessionFuture<Void>SessionHandler. setUser(RoutingContext context, User user)Set the user for the sessionMethod parameters in io.vertx.reactivex.ext.web.handler with type arguments of type RoutingContext Modifier and Type Method Description MultiTenantHandlerMultiTenantHandler. addDefaultHandler(Handler<RoutingContext> handler)Add a default handler for the case when no tenant was matched.MultiTenantHandlerMultiTenantHandler. addTenantHandler(String tenant, Handler<RoutingContext> handler)Add a handler for a given tenant to this handler.SimpleAuthenticationHandlerSimpleAuthenticationHandler. authenticate(Function<RoutingContext,Single<User>> authenticationFunction)This function will allow you to perform authentication the way you intended to.SimpleAuthenticationHandlerSimpleAuthenticationHandler. authenticate(Function<RoutingContext,Future<User>> authenticationFunction)This function will allow you to perform authentication the way you intended to.static MultiTenantHandlerMultiTenantHandler. create(Function<RoutingContext,String> tenantExtractor)Create a MultiTenant handler using a custom tenant extraction function.static MultiTenantHandlerMultiTenantHandler. create(Function<RoutingContext,String> tenantExtractor, String contextKey)Create a MultiTenant handler using a custom tenant extraction function. -
Uses of RoutingContext in io.vertx.reactivex.ext.web.handler.graphql
Methods in io.vertx.reactivex.ext.web.handler.graphql with parameters of type RoutingContext Modifier and Type Method Description voidGraphQLHandler. handle(RoutingContext event)Something has happened, so handle it.Method parameters in io.vertx.reactivex.ext.web.handler.graphql with type arguments of type RoutingContext Modifier and Type Method Description GraphiQLHandlerBuilderGraphiQLHandlerBuilder. addingHeaders(Function<RoutingContext,MultiMap> factory)Customize the HTTP headers to add to GraphQL requests sent by the GraphiQL user interface.GraphQLHandlerBuilderGraphQLHandlerBuilder. beforeExecute(Handler<ExecutionInputBuilderWithContext<RoutingContext>> beforeExecuteHandler)Set a callback to invoke before executing a GraphQL query. -
Uses of RoutingContext in io.vertx.reactivex.ext.web.handler.graphql.ws
Methods in io.vertx.reactivex.ext.web.handler.graphql.ws with parameters of type RoutingContext Modifier and Type Method Description voidGraphQLWSHandler. handle(RoutingContext event)Something has happened, so handle it. -
Uses of RoutingContext in io.vertx.reactivex.ext.web.handler.sockjs
Methods in io.vertx.reactivex.ext.web.handler.sockjs that return RoutingContext Modifier and Type Method Description RoutingContextSockJSSocket. routingContext() -
Uses of RoutingContext in io.vertx.reactivex.ext.web.healthchecks
Methods in io.vertx.reactivex.ext.web.healthchecks with parameters of type RoutingContext Modifier and Type Method Description voidHealthCheckHandler. handle(RoutingContext event)Something has happened, so handle it. -
Uses of RoutingContext in io.vertx.reactivex.ext.web.openapi.router
Methods in io.vertx.reactivex.ext.web.openapi.router with parameters of type RoutingContext Modifier and Type Method Description Future<ValidatableRequest>RequestExtractor. extractValidatableRequest(RoutingContext routingContext, Operation operation)Extracts and transforms the parameters and the body of an incoming request into a that can be validated by theRequestValidator.Single<ValidatableRequest>RequestExtractor. rxExtractValidatableRequest(RoutingContext routingContext, Operation operation)Extracts and transforms the parameters and the body of an incoming request into a that can be validated by theRequestValidator.Method parameters in io.vertx.reactivex.ext.web.openapi.router with type arguments of type RoutingContext Modifier and Type Method Description OpenAPIRouteOpenAPIRoute. addFailureHandler(Handler<RoutingContext> handler)Adds a failure handler for this routeOpenAPIRouteOpenAPIRoute. addHandler(Handler<RoutingContext> handler)Adds a handler for this route which is executed after the security and validation handlers defined in the contractRouterBuilderRouterBuilder. rootHandler(Handler<RoutingContext> rootHandler)Add global handler to be applied prior to being generated. -
Uses of RoutingContext in io.vertx.reactivex.ext.web.validation
Methods in io.vertx.reactivex.ext.web.validation with parameters of type RoutingContext Modifier and Type Method Description RequestPredicateResultRequestPredicate. apply(RoutingContext in)voidValidationHandler. handle(RoutingContext event)Something has happened, so handle it. -
Uses of RoutingContext in io.vertx.reactivex.micrometer
Methods in io.vertx.reactivex.micrometer that return types with arguments of type RoutingContext Modifier and Type Method Description static Handler<RoutingContext>PrometheusScrapingHandler. create()Creates a Vert.x WebRoutehandler for Prometheus metrics scraping.static Handler<RoutingContext>PrometheusScrapingHandler. create(io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry)Creates a Vert.x WebRoutehandler for Prometheus metrics scraping.static Handler<RoutingContext>PrometheusScrapingHandler. create(String registryName)Creates a Vert.x WebRoutehandler for Prometheus metrics scraping.
-