Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bordet2014-02-14 20:30:07 +0000
committerSimone Bordet2014-02-14 21:21:59 +0000
commitad15b27a01aa42e2945cf6816686b4e7b35de4ae (patch)
tree591fcd6e4b1c3f61c17cbd643ff67e6698c7e301 /jetty-websocket/websocket-api/src
parent81b8990dece9979d0633e9235590c386c2390284 (diff)
downloadorg.eclipse.jetty.project-ad15b27a01aa42e2945cf6816686b4e7b35de4ae.tar.gz
org.eclipse.jetty.project-ad15b27a01aa42e2945cf6816686b4e7b35de4ae.tar.xz
org.eclipse.jetty.project-ad15b27a01aa42e2945cf6816686b4e7b35de4ae.zip
427700 - Outgoing extensions that create multiple frames should flush
them in order and atomically. Refactored PerMessageDeflateExtension and DeflateFrameExtension introducing superclass CompressExtension that factors in common functionalities.
Diffstat (limited to 'jetty-websocket/websocket-api/src')
-rw-r--r--jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/extensions/Frame.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/extensions/Frame.java b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/extensions/Frame.java
index 06a2b9dee3..ad3dd8da34 100644
--- a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/extensions/Frame.java
+++ b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/extensions/Frame.java
@@ -68,6 +68,11 @@ public interface Frame
return (opcode == TEXT.getOpCode()) | (opcode == BINARY.getOpCode());
}
+ public boolean isContinuation()
+ {
+ return opcode == CONTINUATION.getOpCode();
+ }
+
@Override
public String toString()
{

Back to the top