Package org.eclipse.jetty.websocket.core
Interface IncomingFrames
- All Known Subinterfaces:
Extension,FrameHandler
- All Known Implementing Classes:
AbstractExtension,ExtensionStack,FragmentExtension,FrameCaptureExtension,IdentityExtension,JavaxWebSocketFrameHandler,JettyWebSocketFrameHandler,MessageHandler,PerMessageDeflateExtension,ValidationExtension,WebSocketCoreSession
public interface IncomingFrames
Interface for dealing with Incoming Frames.
-
Method Summary
-
Method Details
-
onFrame
Process the incoming frame.
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.
Failure of the callback will propagate the failure back to the
CoreSessionto fail the connection and attempt to send a closeFrameif one has not been sent.- Parameters:
frame- the frame to process.callback- the read completion.
-