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.
-
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 TypeMethodDescriptionvoid
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
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) void
Draft_6455.processFrame
(WebSocketImpl webSocketImpl, Framedata frame) abstract void
Draft.processFrame
(WebSocketImpl webSocketImpl, Framedata frame) Handle the frame specific to the draft -
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