public class VertxHttpRecorder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MAX_REQUEST_SIZE_KEY |
static String |
REQUEST_START_TIME
The key that the request start time is stored under
|
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) |
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> |
createBodyHandler(HttpConfiguration httpConfiguration) |
GracefulShutdownFilter |
createGracefulShutdownHandler() |
void |
finalizeRouter(io.quarkus.arc.runtime.BeanContainer container,
Consumer<io.vertx.ext.web.Route> defaultRouteHandler,
List<Filter> filterList,
Supplier<io.vertx.core.Vertx> vertx,
RuntimeValue<io.vertx.ext.web.Router> runtimeValue,
String rootPath,
LaunchMode launchMode,
boolean requireBodyHandler,
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> bodyHandler,
HttpConfiguration httpConfiguration,
GracefulShutdownFilter gracefulShutdownFilter,
ShutdownConfig shutdownConfig,
Executor executor) |
static io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> |
getRootHandler() |
RuntimeValue<io.vertx.ext.web.Router> |
initializeRouter(Supplier<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(Supplier<io.vertx.core.Vertx> vertx,
ShutdownContext shutdown,
HttpConfiguration httpConfiguration,
LaunchMode launchMode,
boolean startVirtual,
boolean startSocket,
Supplier<Integer> ioThreads,
String websocketSubProtocols) |
static void |
startServerAfterFailedStart() |
void |
warnIfPortChanged(HttpConfiguration config,
int port) |
public static final String REQUEST_START_TIME
public static final String MAX_REQUEST_SIZE_KEY
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(Supplier<io.vertx.core.Vertx> vertxRuntimeValue, LaunchMode launchMode, ShutdownContext shutdownContext)
public void startServer(Supplier<io.vertx.core.Vertx> vertx, ShutdownContext shutdown, HttpConfiguration httpConfiguration, LaunchMode launchMode, boolean startVirtual, boolean startSocket, Supplier<Integer> ioThreads, String websocketSubProtocols) throws IOException
IOException
public void finalizeRouter(io.quarkus.arc.runtime.BeanContainer container, Consumer<io.vertx.ext.web.Route> defaultRouteHandler, List<Filter> filterList, Supplier<io.vertx.core.Vertx> vertx, RuntimeValue<io.vertx.ext.web.Router> runtimeValue, String rootPath, LaunchMode launchMode, boolean requireBodyHandler, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> bodyHandler, HttpConfiguration httpConfiguration, GracefulShutdownFilter gracefulShutdownFilter, ShutdownConfig shutdownConfig, Executor executor)
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 GracefulShutdownFilter createGracefulShutdownHandler()
public static io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> getRootHandler()
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> createBodyHandler(HttpConfiguration httpConfiguration)
Copyright © 2020 JBoss by Red Hat. All rights reserved.