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 TypeMethodDescriptionvoidWebSocketAdapter.onWebsocketPing(WebSocket conn, Framedata f) This default implementation will send a pong in response to the received ping.voidWebSocketListener.onWebsocketPing(WebSocket conn, Framedata f) Called a ping frame has been received.voidWebSocketAdapter.onWebsocketPong(WebSocket conn, Framedata f) This default implementation does not do anything.voidWebSocketListener.onWebsocketPong(WebSocket conn, Framedata f) Called when a pong frame is received.voidSend a frame to the other endvoidMethod parameters in org.java_websocket with type arguments of type FramedataModifier and TypeMethodDescriptionprivate voidWebSocketImpl.send(Collection<Framedata> frames) voidWebSocket.sendFrame(Collection<Framedata> frames) Send a collection of frames to the other endvoidWebSocketImpl.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 FramedataDraft_6455.currentContinuousFrameAttribute for the current continuous frameMethods in org.java_websocket.drafts that return FramedataModifier and TypeMethodDescriptionprivate FramedataDraft_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 ByteBufferDraft.createBinaryFrame(Framedata framedata) private ByteBufferDraft_6455.createByteBufferFromFramedata(Framedata framedata) voidDraft_6455.processFrame(WebSocketImpl webSocketImpl, Framedata frame) abstract voidDraft.processFrame(WebSocketImpl webSocketImpl, Framedata frame) Handle the frame specific to the draftprivate voidDraft_6455.processFrameBinary(WebSocketImpl webSocketImpl, Framedata frame) Process the frame if it is a binary frameprivate voidDraft_6455.processFrameClosing(WebSocketImpl webSocketImpl, Framedata frame) Process the frame if it is a closing frameprivate voidDraft_6455.processFrameContinuousAndNonFin(WebSocketImpl webSocketImpl, Framedata frame, Opcode curop) Process the frame if it is a continuous frame or the fin bit is not setprivate voidDraft_6455.processFrameIsFin(WebSocketImpl webSocketImpl, Framedata frame) Process the frame if it is the last frameprivate voidDraft_6455.processFrameIsNotFin(Framedata frame) Process the frame if it is not the last frameprivate voidDraft_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 TypeMethodDescriptionvoidDefaultExtension.decodeFrame(Framedata inputFrame) voidIExtension.decodeFrame(Framedata inputFrame) Decode a frame with a extension specific algorithm.voidDefaultExtension.encodeFrame(Framedata inputFrame) voidIExtension.encodeFrame(Framedata inputFrame) Encode a frame with a extension specific algorithm.voidCompressionExtension.isFrameValid(Framedata inputFrame) voidDefaultExtension.isFrameValid(Framedata inputFrame) voidIExtension.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 TypeMethodDescriptionvoidPerMessageDeflateExtension.decodeFrame(Framedata inputFrame) voidPerMessageDeflateExtension.encodeFrame(Framedata inputFrame) voidPerMessageDeflateExtension.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 TypeClassDescriptionclassClass to represent a binary frameclassClass to represent a close frameclassClass to represent a continuous frameclassAbstract class to represent control framesclassAbstract class to represent data framesclassAbstract implementation of a frameclassClass to represent a ping frameclassClass to represent a pong frameclassClass 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 voidWebSocketServer.fillFrames(Draft draft, Map<Draft, List<Framedata>> draftFrames, String strData, ByteBuffer byteData) Fills the draftFrames with new data for the broadcast