Class DevConsoleRouteBuildItem


  • public final class DevConsoleRouteBuildItem
    extends io.quarkus.builder.item.MultiBuildItem
    A route for handling requests in the dev console.

    Routes are registered under /q/dev/{groupId}.{artifactId}/

    This handler executes in the deployment class loader.

    • Constructor Detail

      • DevConsoleRouteBuildItem

        public DevConsoleRouteBuildItem​(String groupId,
                                        String artifactId,
                                        String path,
                                        String method,
                                        io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
      • DevConsoleRouteBuildItem

        public DevConsoleRouteBuildItem​(String path,
                                        String method,
                                        io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
    • Method Detail

      • groupIdAndArtifactId

        public Map.Entry<String,​String> groupIdAndArtifactId​(CurateOutcomeBuildItem curateOutcomeBuildItem)
        Gets the group id and artifact ID. This needs the curate result to map the calling class to the artifact that contains it in some situations (namely in dev mode tests).
      • getPath

        public String getPath()
      • getMethod

        public String getMethod()
      • getHandler

        public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> getHandler()