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_ARG
Methods in io.vertx.reactivex.ext.web that return RoutingContext Modifier and Type Method Description RoutingContext
RoutingContext. attachment(String filename)
Set Content-Disposition get to "attachment" with optionalfilename
mime type.RoutingContext
RoutingContext. etag(String etag)
Set the ETag of a response.RoutingContext
RoutingContext. lastModified(String instant)
Set the Last-Modified date using a String.RoutingContext
RoutingContext. lastModified(java.time.Instant instant)
Set the Last-Modified date using a Instant.static RoutingContext
RoutingContext. newInstance(RoutingContext arg)
RoutingContext
RoutingContext. 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 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.Method parameters in io.vertx.reactivex.ext.web with type arguments of type RoutingContext Modifier and Type Method Description Route
Route. blockingHandler(Handler<RoutingContext> requestHandler)
LikeRoute.blockingHandler(io.vertx.core.Handler<io.vertx.reactivex.ext.web.RoutingContext>)
called with ordered = trueRoute
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(Function<RoutingContext,Maybe<T>> function)
Append a function 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. -
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.String
LoggerFormatter. format(RoutingContext routingContext, long ms)
Formats and returns the log statementvoid
APIKeyHandler. handle(RoutingContext event)
Something has happened, so handle it.void
AuthenticationHandler. handle(RoutingContext event)
Something has happened, so handle it.void
AuthorizationHandler. handle(RoutingContext event)
Something has happened, so handle it.void
BasicAuthHandler. handle(RoutingContext event)
Something has happened, so handle it.void
BodyHandler. handle(RoutingContext event)
Something has happened, so handle it.void
ChainAuthHandler. handle(RoutingContext event)
Something has happened, so handle it.void
CorsHandler. handle(RoutingContext event)
Something has happened, so handle it.void
CSPHandler. handle(RoutingContext event)
Something has happened, so handle it.void
CSRFHandler. handle(RoutingContext event)
Something has happened, so handle it.void
DigestAuthHandler. handle(RoutingContext event)
Something has happened, so handle it.void
ErrorHandler. handle(RoutingContext event)
Something has happened, so handle it.void
FaviconHandler. handle(RoutingContext event)
Something has happened, so handle it.void
FormLoginHandler. handle(RoutingContext event)
Something has happened, so handle it.void
HSTSHandler. handle(RoutingContext event)
Something has happened, so handle it.void
InputTrustHandler. handle(RoutingContext event)
Something has happened, so handle it.void
JWTAuthHandler. handle(RoutingContext event)
Something has happened, so handle it.void
LoggerHandler. handle(RoutingContext event)
Something has happened, so handle it.void
MethodOverrideHandler. handle(RoutingContext event)
Something has happened, so handle it.void
MultiTenantHandler. handle(RoutingContext event)
Something has happened, so handle it.void
OAuth2AuthHandler. handle(RoutingContext event)
Something has happened, so handle it.void
OtpAuthHandler. handle(RoutingContext event)
Something has happened, so handle it.void
PlatformHandler. handle(RoutingContext event)
Something has happened, so handle it.void
ProtocolUpgradeHandler. handle(RoutingContext event)
Something has happened, so handle it.void
RedirectAuthHandler. handle(RoutingContext event)
Something has happened, so handle it.void
ResponseContentTypeHandler. handle(RoutingContext event)
Something has happened, so handle it.void
ResponseTimeHandler. handle(RoutingContext event)
Something has happened, so handle it.void
SecurityAuditLoggerHandler. handle(RoutingContext event)
Something has happened, so handle it.void
SecurityPolicyHandler. handle(RoutingContext event)
Something has happened, so handle it.void
SessionHandler. handle(RoutingContext event)
Something has happened, so handle it.void
SimpleAuthenticationHandler. handle(RoutingContext event)
Something has happened, so handle it.void
StaticHandler. handle(RoutingContext event)
Something has happened, so handle it.void
TemplateHandler. handle(RoutingContext event)
Something has happened, so handle it.void
TimeoutHandler. handle(RoutingContext event)
Something has happened, so handle it.void
WebAuthn4JHandler. handle(RoutingContext event)
Something has happened, so handle it.void
XFrameHandler. handle(RoutingContext event)
Something has happened, so handle it.Session
SessionHandler. newSession(RoutingContext context)
Create a new sessionCompletable
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.Completable
SessionHandler. 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 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.SimpleAuthenticationHandler
SimpleAuthenticationHandler. authenticate(Function<RoutingContext,Single<User>> authenticationFunction)
This function will allow you to perform authentication the way you intended to.SimpleAuthenticationHandler
SimpleAuthenticationHandler. authenticate(java.util.function.Function<RoutingContext,Future<User>> authenticationFunction)
This function will allow you to perform authentication the way you intended to.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. -
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 void
GraphQLHandler. 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 GraphiQLHandlerBuilder
GraphiQLHandlerBuilder. addingHeaders(java.util.function.Function<RoutingContext,MultiMap> factory)
Customize the HTTP headers to add to GraphQL requests sent by the GraphiQL user interface.GraphQLHandlerBuilder
GraphQLHandlerBuilder. 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 void
GraphQLWSHandler. 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 RoutingContext
SockJSSocket. 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 void
HealthCheckHandler. 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 OpenAPIRoute
OpenAPIRoute. addFailureHandler(Handler<RoutingContext> handler)
Adds a failure handler for this routeOpenAPIRoute
OpenAPIRoute. addHandler(Handler<RoutingContext> handler)
Adds a handler for this route which is executed after the security and validation handlers defined in the contractRouterBuilder
RouterBuilder. 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 RequestPredicateResult
RequestPredicate. apply(RoutingContext in)
void
ValidationHandler. 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 WebRoute
handler for Prometheus metrics scraping.static Handler<RoutingContext>
PrometheusScrapingHandler. create(io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry)
Creates a Vert.x WebRoute
handler for Prometheus metrics scraping.static Handler<RoutingContext>
PrometheusScrapingHandler. create(String registryName)
Creates a Vert.x WebRoute
handler for Prometheus metrics scraping.
-