diff --git a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Generator.java b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Generator.java index 64934fe9142..3112468b7b4 100644 --- a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Generator.java +++ b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Generator.java @@ -28,7 +28,7 @@ import org.eclipse.jetty.util.log.Logger; import org.eclipse.jetty.websocket.api.ProtocolException; import org.eclipse.jetty.websocket.api.WebSocketBehavior; import org.eclipse.jetty.websocket.api.WebSocketPolicy; -import org.eclipse.jetty.websocket.common.extensions.AbstractExtension; +import org.eclipse.jetty.websocket.api.extensions.Extension; /** * Generating a frame in WebSocket land. @@ -166,7 +166,7 @@ public class Generator } - public void configureFromExtensions(List exts) + public void configureFromExtensions(List exts) { // default this.rsv1InUse = false; @@ -174,7 +174,7 @@ public class Generator this.rsv3InUse = false; // configure from list of extensions in use - for(AbstractExtension ext: exts) + for(Extension ext: exts) { if (ext.isRsv1User()) { diff --git a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Parser.java b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Parser.java index d609b2e3287..b06e7d105ab 100644 --- a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Parser.java +++ b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/Parser.java @@ -28,7 +28,7 @@ import org.eclipse.jetty.websocket.api.MessageTooLargeException; import org.eclipse.jetty.websocket.api.ProtocolException; import org.eclipse.jetty.websocket.api.WebSocketException; import org.eclipse.jetty.websocket.api.WebSocketPolicy; -import org.eclipse.jetty.websocket.common.extensions.AbstractExtension; +import org.eclipse.jetty.websocket.api.extensions.Extension; import org.eclipse.jetty.websocket.common.io.IncomingFrames; import org.eclipse.jetty.websocket.common.io.payload.CloseReasonValidator; import org.eclipse.jetty.websocket.common.io.payload.DeMaskProcessor; @@ -115,7 +115,7 @@ public class Parser } } - public void configureFromExtensions(List exts) + public void configureFromExtensions(List exts) { // default this.rsv1InUse = false; @@ -124,7 +124,7 @@ public class Parser this.isTextFrameValidated = true; // configure from list of extensions in use - for(AbstractExtension ext: exts) + for (Extension ext : exts) { if (ext.isRsv1User()) {