|
1 | 1 | package io.quarkus.vertx.http.runtime;
|
2 | 2 |
|
3 | 3 | /**
|
4 |
| - * Route order mark constants used in Quarkus, update {@code reactive-routes.adoc} when changing this class. |
| 4 | + * Route order value constants used in Quarkus, update {@code reactive-routes.adoc} when changing this class. |
5 | 5 | */
|
6 | 6 | @SuppressWarnings("JavadocDeclaration")
|
7 | 7 | public final class RouteConstants {
|
8 | 8 | private RouteConstants() {
|
9 | 9 | }
|
10 | 10 |
|
11 | 11 | /**
|
12 |
| - * Order mark ({@value #ROUTE_ORDER_ACCESS_LOG_HANDLER}) for the access-log handler, if enabled in the configuration. |
| 12 | + * Order value ({@value #ROUTE_ORDER_ACCESS_LOG_HANDLER}) for the access-log handler, if enabled in the configuration. |
13 | 13 | */
|
14 | 14 | public static final int ROUTE_ORDER_ACCESS_LOG_HANDLER = Integer.MIN_VALUE;
|
15 | 15 | /**
|
16 |
| - * Order mark ({@value #ROUTE_ORDER_RECORD_START_TIME}) for the handler adding the start-time, if enabled in the |
| 16 | + * Order value ({@value #ROUTE_ORDER_RECORD_START_TIME}) for the handler adding the start-time, if enabled in the |
17 | 17 | * configuration.
|
18 | 18 | */
|
19 | 19 | public static final int ROUTE_ORDER_RECORD_START_TIME = Integer.MIN_VALUE;
|
20 | 20 | /**
|
21 |
| - * Order mark ({@value #ROUTE_ORDER_HOT_REPLACEMENT}) for the hot-replacement body handler. |
| 21 | + * Order value ({@value #ROUTE_ORDER_HOT_REPLACEMENT}) for the hot-replacement body handler. |
22 | 22 | */
|
23 | 23 | public static final int ROUTE_ORDER_HOT_REPLACEMENT = Integer.MIN_VALUE;
|
24 | 24 | /**
|
25 |
| - * Order mark ({@value #ROUTE_ORDER_BODY_HANDLER_MANAGEMENT}) for the body handler for the management router. |
| 25 | + * Order value ({@value #ROUTE_ORDER_BODY_HANDLER_MANAGEMENT}) for the body handler for the management router. |
26 | 26 | */
|
27 | 27 | public static final int ROUTE_ORDER_BODY_HANDLER_MANAGEMENT = Integer.MIN_VALUE;
|
28 | 28 | /**
|
29 |
| - * Order mark ({@value #ROUTE_ORDER_HEADERS}) for the handlers that add headers specified in the configuration. |
| 29 | + * Order value ({@value #ROUTE_ORDER_HEADERS}) for the handlers that add headers specified in the configuration. |
30 | 30 | */
|
31 | 31 | public static final int ROUTE_ORDER_HEADERS = Integer.MIN_VALUE;
|
32 | 32 | /**
|
33 |
| - * Order mark ({@value #ROUTE_ORDER_CORS_MANAGEMENT}) for the CORS-Origin handler of the management router. |
| 33 | + * Order value ({@value #ROUTE_ORDER_CORS_MANAGEMENT}) for the CORS-Origin handler of the management router. |
34 | 34 | */
|
35 | 35 | public static final int ROUTE_ORDER_CORS_MANAGEMENT = Integer.MIN_VALUE;
|
36 | 36 | /**
|
37 |
| - * Order mark ({@value #ROUTE_ORDER_BODY_HANDLER}) for the body handler. |
| 37 | + * Order value ({@value #ROUTE_ORDER_BODY_HANDLER}) for the body handler. |
38 | 38 | */
|
39 | 39 | public static final int ROUTE_ORDER_BODY_HANDLER = Integer.MIN_VALUE + 1;
|
40 | 40 | /**
|
41 |
| - * Order mark ({@value #ROUTE_ORDER_UPLOAD_LIMIT}) for the route that enforces the upload body size limit. |
| 41 | + * Order value ({@value #ROUTE_ORDER_UPLOAD_LIMIT}) for the route that enforces the upload body size limit. |
42 | 42 | */
|
43 | 43 | public static final int ROUTE_ORDER_UPLOAD_LIMIT = -2;
|
44 | 44 | /**
|
45 |
| - * Order mark ({@value #ROUTE_ORDER_COMPRESSION}) for the compression handler. |
| 45 | + * Order value ({@value #ROUTE_ORDER_COMPRESSION}) for the compression handler. |
46 | 46 | */
|
47 | 47 | public static final int ROUTE_ORDER_COMPRESSION = 0;
|
48 | 48 | /**
|
49 |
| - * Order mark ({@value #ROUTE_ORDER_BEFORE_DEFAULT_MARK}) for route with priority over the default route (add an offset from |
50 |
| - * this mark) |
| 49 | + * Order value ({@value #ROUTE_ORDER_BEFORE_DEFAULT}) for route with priority over the default route (add an offset from |
| 50 | + * this value) |
51 | 51 | */
|
52 |
| - public static final int ROUTE_ORDER_BEFORE_DEFAULT_MARK = 1_000; |
| 52 | + public static final int ROUTE_ORDER_BEFORE_DEFAULT = 1_000; |
53 | 53 | /**
|
54 | 54 | * Default route order (i.e. Static Resources, Servlet): ({@value #ROUTE_ORDER_DEFAULT})
|
55 | 55 | */
|
56 | 56 | public static final int ROUTE_ORDER_DEFAULT = 10_000;
|
57 | 57 | /**
|
58 |
| - * Order mark ({@value #ROUTE_ORDER_AFTER_DEFAULT_MARK}) for route without priority over the default route (add an offset |
59 |
| - * from this mark) |
| 58 | + * Order value ({@value #ROUTE_ORDER_AFTER_DEFAULT}) for route without priority over the default route (add an offset |
| 59 | + * from this value) |
60 | 60 | */
|
61 |
| - public static final int ROUTE_ORDER_AFTER_DEFAULT_MARK = 20_000; |
| 61 | + public static final int ROUTE_ORDER_AFTER_DEFAULT = 20_000; |
62 | 62 | }
|
0 commit comments