Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2014-02-14 16:02:27 +0000
committerJoakim Erdfelt2014-02-19 18:32:18 +0000
commitc1f547e2b304f3f369dfcc39078a0c9e401975af (patch)
treef3b806879a591310d11f4ebded4838d16c4f8dfb /jetty-websocket/websocket-api
parentfc7e353394da47b58364afbcbd0bd50877d8b905 (diff)
downloadorg.eclipse.jetty.project-c1f547e2b304f3f369dfcc39078a0c9e401975af.tar.gz
org.eclipse.jetty.project-c1f547e2b304f3f369dfcc39078a0c9e401975af.tar.xz
org.eclipse.jetty.project-c1f547e2b304f3f369dfcc39078a0c9e401975af.zip
Adding javadoc
Diffstat (limited to 'jetty-websocket/websocket-api')
-rw-r--r--jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/extensions/IncomingFrames.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/extensions/IncomingFrames.java b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/extensions/IncomingFrames.java
index 03e73d8b78..451e57b3a9 100644
--- a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/extensions/IncomingFrames.java
+++ b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/extensions/IncomingFrames.java
@@ -25,5 +25,14 @@ public interface IncomingFrames
{
public void incomingError(Throwable t);
+ /**
+ * Process the incoming frame.
+ * <p>
+ * Note: if you need to hang onto any information from the frame, be sure
+ * to copy it, as the information contained in the Frame will be released
+ * and/or reused by the implementation.
+ *
+ * @param frame the frame to process
+ */
public void incomingFrame(Frame frame);
}

Back to the top