From d67722a85a8d47287e66edc5f0befebee439adbf Mon Sep 17 00:00:00 2001 From: Martin Kouba Date: Wed, 20 Mar 2024 14:15:12 +0100 Subject: [PATCH] WebSockets Next: Dev UI - display endpoints on the 404 page - resolves #39446 --- .../websockets/next/deployment/WebSocketServerProcessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/websockets-next/server/deployment/src/main/java/io/quarkus/websockets/next/deployment/WebSocketServerProcessor.java b/extensions/websockets-next/server/deployment/src/main/java/io/quarkus/websockets/next/deployment/WebSocketServerProcessor.java index 362c7f752e57c..1ec6c5c92af21 100644 --- a/extensions/websockets-next/server/deployment/src/main/java/io/quarkus/websockets/next/deployment/WebSocketServerProcessor.java +++ b/extensions/websockets-next/server/deployment/src/main/java/io/quarkus/websockets/next/deployment/WebSocketServerProcessor.java @@ -190,6 +190,7 @@ public void registerRoutes(WebSocketServerRecorder recorder, HttpRootPathBuildIt for (GeneratedEndpointBuildItem endpoint : generatedEndpoints) { RouteBuildItem.Builder builder = RouteBuildItem.builder() .route(httpRootPath.relativePath(endpoint.path)) + .displayOnNotFoundPage("WebSocket Endpoint") .handlerType(HandlerType.NORMAL) .handler(recorder.createEndpointHandler(endpoint.generatedClassName)); routes.produce(builder.build());