diff --git a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/UpgradeRequest.java b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/UpgradeRequest.java index 7b88670b40d..8729131d34e 100644 --- a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/UpgradeRequest.java +++ b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/UpgradeRequest.java @@ -198,16 +198,6 @@ public class UpgradeRequest return version; } - public String getProtocolVersion() - { - String version = getHeader("Sec-WebSocket-Version"); - if (version == null) - { - return "13"; - } - return version; - } - public String getQueryString() { return requestURI.getQuery();