From 458e42e7d6ad641985a71016fdbe0b705dc1cecc Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Wed, 17 Aug 2022 21:55:13 +1000 Subject: [PATCH] add getter for the WebSocketUpgradeHandler configuration Signed-off-by: Lachlan Roberts --- .../jetty/websocket/core/server/WebSocketUpgradeHandler.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jetty-websocket/websocket-core-server/src/main/java/org/eclipse/jetty/websocket/core/server/WebSocketUpgradeHandler.java b/jetty-websocket/websocket-core-server/src/main/java/org/eclipse/jetty/websocket/core/server/WebSocketUpgradeHandler.java index 927fd42edbd..4a7282cf8f2 100644 --- a/jetty-websocket/websocket-core-server/src/main/java/org/eclipse/jetty/websocket/core/server/WebSocketUpgradeHandler.java +++ b/jetty-websocket/websocket-core-server/src/main/java/org/eclipse/jetty/websocket/core/server/WebSocketUpgradeHandler.java @@ -50,6 +50,11 @@ public class WebSocketUpgradeHandler extends HandlerWrapper mappings.addMapping(pathSpec, negotiator); } + public Configuration getConfiguration() + { + return customizer; + } + @Override public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {