You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are using a `web.xml` file as your configuration file, you can place it in the `src/main/resources/META-INF` directory.
593
+
594
+
=== Built-in route order values
595
+
596
+
Route order values are the values that are specified via Vert.x route `io.vertx.ext.web.Route.order(int)` function.
597
+
598
+
Quarkus registers a couple of routes with specific order values.
599
+
The constants are defined in the `io.quarkus.vertx.http.runtime.RouteConstants` class and listed in the table below.
600
+
A custom route should define the order of value 20000 or higher so that it does not interfere with the functionality provided by Quarkus and extensions.
601
+
602
+
Route order constants defined in `io.quarkus.vertx.http.runtime.RouteConstants` and known extensions:
603
+
604
+
[cols="1,1,3"]
605
+
|===
606
+
| Route order value| Constant name| Origin
607
+
| `Integer.MIN_VALUE` | `ROUTE_ORDER_ACCESS_LOG_HANDLER` | Access-log handler, if enabled in the configuration.
608
+
| `Integer.MIN_VALUE` | `ROUTE_ORDER_RECORD_START_TIME` | Handler adding the start-time, if enabled in the configuration.
609
+
| `Integer.MIN_VALUE` | `ROUTE_ORDER_HOT_REPLACEMENT` | -replacement body handler.
610
+
| `Integer.MIN_VALUE` | `ROUTE_ORDER_BODY_HANDLER_MANAGEMENT` | Body handler for the management router.
611
+
| `Integer.MIN_VALUE` | `ROUTE_ORDER_HEADERS` | Handlers that add headers specified in the configuration.
612
+
| `Integer.MIN_VALUE` | `ROUTE_ORDER_CORS_MANAGEMENT` | CORS-Origin handler of the management router.
613
+
| `Integer.MIN_VALUE + 1` | `ROUTE_ORDER_BODY_HANDLER` | Body handler.
614
+
| `-2` | `ROUTE_ORDER_UPLOAD_LIMIT` | Route that enforces the upload body size limit.
Copy file name to clipboardExpand all lines: extensions/resteasy-classic/resteasy/deployment/src/main/java/io/quarkus/resteasy/deployment/ResteasyStandaloneBuildStep.java
Copy file name to clipboardExpand all lines: extensions/resteasy-reactive/quarkus-resteasy-reactive/deployment/src/main/java/io/quarkus/resteasy/reactive/server/deployment/ResteasyReactiveProcessor.java
Copy file name to clipboardExpand all lines: extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/options/HttpServerCommonHandlers.java
0 commit comments