Class VertxHttpRecorder


  • public class VertxHttpRecorder
    extends Object
    • Field Detail

      • REQUEST_START_TIME

        public static final String REQUEST_START_TIME
        The key that the request start time is stored under
        See Also:
        Constant Field Values
      • virtualBootstrap

        protected static io.netty.bootstrap.ServerBootstrap virtualBootstrap
      • VIRTUAL_HTTP

        public static io.quarkus.netty.runtime.virtual.VirtualAddress VIRTUAL_HTTP
    • Constructor Detail

      • VertxHttpRecorder

        public VertxHttpRecorder()
    • Method Detail

      • setHotReplacement

        public static void setHotReplacement​(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler,
                                             io.quarkus.dev.spi.HotReplacementContext hrc)
      • shutDownDevMode

        public static void shutDownDevMode()
      • startServerAfterFailedStart

        public static void startServerAfterFailedStart()
      • initializeRouter

        public RuntimeValue<io.vertx.ext.web.Router> initializeRouter​(Supplier<io.vertx.core.Vertx> vertxRuntimeValue)
      • mountFrameworkRouter

        public void mountFrameworkRouter​(RuntimeValue<io.vertx.ext.web.Router> mainRouter,
                                         RuntimeValue<io.vertx.ext.web.Router> frameworkRouter,
                                         String frameworkPath)
      • warnIfPortChanged

        public void warnIfPortChanged​(HttpConfiguration config,
                                      int port)
      • addRoute

        public void addRoute​(RuntimeValue<io.vertx.ext.web.Router> router,
                             Function<io.vertx.ext.web.Router,​io.vertx.ext.web.Route> route,
                             io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler,
                             HandlerType blocking)
      • setNonApplicationRedirectHandler

        public void setNonApplicationRedirectHandler​(String nonApplicationPath,
                                                     String rootPath)
      • getNonApplicationRedirectHandler

        public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> getNonApplicationRedirectHandler()
      • getRootHandler

        public static io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> getRootHandler()
      • createBodyHandler

        public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> createBodyHandler​(HttpConfiguration httpConfiguration)