public class VertxHttpRecorder extends Object
| Modifier and Type | Field and Description |
|---|---|
static io.quarkus.netty.runtime.virtual.VirtualAddress |
VIRTUAL_HTTP |
protected static io.netty.bootstrap.ServerBootstrap |
virtualBootstrap |
| Constructor and Description |
|---|
VertxHttpRecorder() |
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
finalizeRouter(io.quarkus.arc.runtime.BeanContainer container,
Consumer<io.vertx.ext.web.Route> defaultRouteHandler,
List<Filter> filterList,
RuntimeValue<io.vertx.core.Vertx> vertx,
RuntimeValue<io.vertx.ext.web.Router> runtimeValue,
String rootPath,
LaunchMode launchMode) |
static io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> |
getRootHandler() |
RuntimeValue<io.vertx.ext.web.Router> |
initializeRouter(RuntimeValue<io.vertx.core.Vertx> vertxRuntimeValue,
LaunchMode launchMode,
ShutdownContext shutdownContext) |
static void |
setHotReplacement(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler) |
static void |
shutDownDevMode() |
void |
startServer(RuntimeValue<io.vertx.core.Vertx> vertxRuntimeValue,
ShutdownContext shutdown,
HttpConfiguration httpConfiguration,
LaunchMode launchMode,
boolean startVirtual,
boolean startSocket,
Supplier<Integer> ioThreads) |
static void |
startServerAfterFailedStart() |
void |
warnIfPortChanged(HttpConfiguration config,
int port) |
protected static io.netty.bootstrap.ServerBootstrap virtualBootstrap
public static io.quarkus.netty.runtime.virtual.VirtualAddress VIRTUAL_HTTP
public static void setHotReplacement(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
public static void shutDownDevMode()
public static void startServerAfterFailedStart()
public RuntimeValue<io.vertx.ext.web.Router> initializeRouter(RuntimeValue<io.vertx.core.Vertx> vertxRuntimeValue, LaunchMode launchMode, ShutdownContext shutdownContext)
public void startServer(RuntimeValue<io.vertx.core.Vertx> vertxRuntimeValue, ShutdownContext shutdown, HttpConfiguration httpConfiguration, LaunchMode launchMode, boolean startVirtual, boolean startSocket, Supplier<Integer> ioThreads) throws IOException
IOExceptionpublic void finalizeRouter(io.quarkus.arc.runtime.BeanContainer container,
Consumer<io.vertx.ext.web.Route> defaultRouteHandler,
List<Filter> filterList,
RuntimeValue<io.vertx.core.Vertx> vertx,
RuntimeValue<io.vertx.ext.web.Router> runtimeValue,
String rootPath,
LaunchMode launchMode)
public void warnIfPortChanged(HttpConfiguration config, int port)
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)
public static io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> getRootHandler()
Copyright © 2019 JBoss by Red Hat. All rights reserved.