Uses of Interface
org.java_websocket.framing.Framedata
Packages that use Framedata
Package
Description
This package encapsulates all implementations in relation with the WebSocketClient.
This package encapsulates all implementations in relation with the WebSocket drafts.
This package encapsulates all interfaces and implementations in relation with the WebSocket
Sec-WebSocket-Extensions.
This package encapsulates all interfaces and implementations in relation with the WebSocket
frames.
This package encapsulates all implementations in relation with the WebSocketServer.
-
Uses of Framedata in org.java_websocket
Methods in org.java_websocket with parameters of type FramedataModifier and TypeMethodDescriptionvoid
WebSocketAdapter.onWebsocketPing
(WebSocket conn, Framedata f) This default implementation will send a pong in response to the received ping.void
WebSocketListener.onWebsocketPing
(WebSocket conn, Framedata f) Called a ping frame has been received.void
WebSocketAdapter.onWebsocketPong
(WebSocket conn, Framedata f) This default implementation does not do anything.void
WebSocketListener.onWebsocketPong
(WebSocket conn, Framedata f) Called when a pong frame is received.void
Send a frame to the other endvoid
Method parameters in org.java_websocket with type arguments of type FramedataModifier and TypeMethodDescriptionprivate void
WebSocketImpl.send
(Collection<Framedata> frames) void
WebSocket.sendFrame
(Collection<Framedata> frames) Send a collection of frames to the other endvoid
WebSocketImpl.sendFrame
(Collection<Framedata> frames) -
Uses of Framedata in org.java_websocket.client
Methods in org.java_websocket.client with parameters of type FramedataMethod parameters in org.java_websocket.client with type arguments of type Framedata -
Uses of Framedata in org.java_websocket.drafts
Fields in org.java_websocket.drafts declared as FramedataModifier and TypeFieldDescriptionprivate Framedata
Draft_6455.currentContinuousFrame
Attribute for the current continuous frameMethods in org.java_websocket.drafts that return FramedataModifier and TypeMethodDescriptionprivate Framedata
Draft_6455.translateSingleFrame
(ByteBuffer buffer) Methods in org.java_websocket.drafts that return types with arguments of type FramedataModifier and TypeMethodDescriptionDraft.continuousFrame
(Opcode op, ByteBuffer buffer, boolean fin) Draft_6455.createFrames
(String text, boolean mask) Draft_6455.createFrames
(ByteBuffer binary, boolean mask) Draft.createFrames
(String text, boolean mask) Draft.createFrames
(ByteBuffer binary, boolean mask) Draft_6455.translateFrame
(ByteBuffer buffer) Draft.translateFrame
(ByteBuffer buffer) Methods in org.java_websocket.drafts with parameters of type FramedataModifier and TypeMethodDescriptionDraft_6455.createBinaryFrame
(Framedata framedata) abstract ByteBuffer
Draft.createBinaryFrame
(Framedata framedata) private ByteBuffer
Draft_6455.createByteBufferFromFramedata
(Framedata framedata) void
Draft_6455.processFrame
(WebSocketImpl webSocketImpl, Framedata frame) abstract void
Draft.processFrame
(WebSocketImpl webSocketImpl, Framedata frame) Handle the frame specific to the draftprivate void
Draft_6455.processFrameBinary
(WebSocketImpl webSocketImpl, Framedata frame) Process the frame if it is a binary frameprivate void
Draft_6455.processFrameClosing
(WebSocketImpl webSocketImpl, Framedata frame) Process the frame if it is a closing frameprivate void
Draft_6455.processFrameContinuousAndNonFin
(WebSocketImpl webSocketImpl, Framedata frame, Opcode curop) Process the frame if it is a continuous frame or the fin bit is not setprivate void
Draft_6455.processFrameIsFin
(WebSocketImpl webSocketImpl, Framedata frame) Process the frame if it is the last frameprivate void
Draft_6455.processFrameIsNotFin
(Framedata frame) Process the frame if it is not the last frameprivate void
Draft_6455.processFrameText
(WebSocketImpl webSocketImpl, Framedata frame) Process the frame if it is a text frame -
Uses of Framedata in org.java_websocket.extensions
Methods in org.java_websocket.extensions with parameters of type FramedataModifier and TypeMethodDescriptionvoid
DefaultExtension.decodeFrame
(Framedata inputFrame) void
IExtension.decodeFrame
(Framedata inputFrame) Decode a frame with a extension specific algorithm.void
DefaultExtension.encodeFrame
(Framedata inputFrame) void
IExtension.encodeFrame
(Framedata inputFrame) Encode a frame with a extension specific algorithm.void
CompressionExtension.isFrameValid
(Framedata inputFrame) void
DefaultExtension.isFrameValid
(Framedata inputFrame) void
IExtension.isFrameValid
(Framedata inputFrame) Check if the received frame is correctly implemented by the other endpoint and there are no specification errors (like wrongly set RSV) -
Uses of Framedata in org.java_websocket.extensions.permessage_deflate
Methods in org.java_websocket.extensions.permessage_deflate with parameters of type FramedataModifier and TypeMethodDescriptionvoid
PerMessageDeflateExtension.decodeFrame
(Framedata inputFrame) void
PerMessageDeflateExtension.encodeFrame
(Framedata inputFrame) void
PerMessageDeflateExtension.isFrameValid
(Framedata inputFrame) This extension requires the RSV1 bit to be set only for the first frame. -
Uses of Framedata in org.java_websocket.framing
Classes in org.java_websocket.framing that implement FramedataModifier and TypeClassDescriptionclass
Class to represent a binary frameclass
Class to represent a close frameclass
Class to represent a continuous frameclass
Abstract class to represent control framesclass
Abstract class to represent data framesclass
Abstract implementation of a frameclass
Class to represent a ping frameclass
Class to represent a pong frameclass
Class to represent a text framesMethods in org.java_websocket.framing with parameters of type Framedata -
Uses of Framedata in org.java_websocket.server
Method parameters in org.java_websocket.server with type arguments of type FramedataModifier and TypeMethodDescriptionprivate void
WebSocketServer.fillFrames
(Draft draft, Map<Draft, List<Framedata>> draftFrames, String strData, ByteBuffer byteData) Fills the draftFrames with new data for the broadcast