Class ResourceNotFoundHandler
java.lang.Object
io.quarkus.vertx.http.runtime.devmode.ResourceNotFoundHandler
- All Implemented Interfaces:
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
public class ResourceNotFoundHandler
extends Object
implements io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
Lists all routes when no route matches the path in the dev mode.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionResourceNotFoundHandler
(String baseUrl, String httpRoot, List<RouteDescription> routes, Set<String> staticResourceRoots, List<AdditionalRouteDescription> additionalEndpoints) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addServlet
(String mapping) void
handle
(io.vertx.ext.web.RoutingContext routingContext)
-
Field Details
-
META_INF_RESOURCES
- See Also:
-
runtimeRoutes
-
-
Constructor Details
-
ResourceNotFoundHandler
public ResourceNotFoundHandler(String baseUrl, String httpRoot, List<RouteDescription> routes, Set<String> staticResourceRoots, List<AdditionalRouteDescription> additionalEndpoints)
-
-
Method Details
-
handle
public void handle(io.vertx.ext.web.RoutingContext routingContext) - Specified by:
handle
in interfaceio.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
-
addServlet
-