Uses of Class
org.eclipse.jetty.websocket.core.Frame
Package
Description
Jetty WebSocket Common : Implementation [Internal Use Only]
-
Uses of Frame in org.eclipse.jetty.ee10.websocket.jakarta.common
Modifier and TypeMethodDescriptionvoid
void
void
JakartaWebSocketFrameHandler.onContinuation
(Frame frame, Callback callback) void
void
void
void
void
-
Uses of Frame in org.eclipse.jetty.ee10.websocket.jakarta.common.messages
-
Uses of Frame in org.eclipse.jetty.websocket.common
Modifier and TypeMethodDescriptionvoid
-
Uses of Frame in org.eclipse.jetty.websocket.core
Modifier and TypeMethodDescriptionFrame.asReadOnly()
static Frame
static Frame
Frame.copyWithoutPayload
(Frame original) Frame.setFin
(boolean fin) Frame.setMask
(byte[] maskingKey) protected Frame
Frame.setOpCode
(byte op) Frame.setPayload
(byte[] buf) Frame.setPayload
(String str) Frame.setPayload
(ByteBuffer buf) Set the data payload.Frame.setRsv1
(boolean rsv1) Frame.setRsv2
(boolean rsv2) Frame.setRsv3
(boolean rsv3) CloseStatus.toFrame()
static Frame
CloseStatus.toFrame
(int closeStatus) static Frame
Modifier and TypeMethodDescriptionstatic Frame
protected void
Frame.copyHeaders
(Frame frame) static Frame
Frame.copyWithoutPayload
(Frame original) void
WebSocketConnection.enqueueFrame
(Frame frame, Callback callback, boolean batch) Enqueue a Frame to be sent.static CloseStatus
CloseStatus.getCloseStatus
(Frame frame) protected void
AbstractExtension.nextIncomingFrame
(Frame frame, Callback callback) protected void
AbstractExtension.nextOutgoingFrame
(Frame frame, Callback callback, boolean batch) void
void
void
void
Invoked when a WebSocket frame is received.void
Process the incoming frame.void
void
void
void
void
A frame, and optional callback, intended for the network layer.void
-
Uses of Frame in org.eclipse.jetty.websocket.core.internal
Modifier and TypeFieldDescriptionstatic final Frame
FrameFlusher.FLUSH_FRAME
final Frame
FrameEntry.frame
Modifier and TypeMethodDescriptionboolean
Enqueue a Frame to be written to the endpoint.void
Generator.generateHeader
(Frame frame, ByteBuffer buffer) Generate the header bytes of a frame into a single ByteBuffer.void
Generator.generatePayload
(Frame frame, ByteBuffer buffer) Generate the payload of a frame into a single ByteBuffer, if the frame has a mask the payload will be masked as it is copied to the output buffer.void
Generator.generateWholeFrame
(Frame frame, ByteBuffer buffer) Generate the whole frame (header + payload copy) into a single ByteBuffer.protected boolean
protected void
PerMessageDeflateExtension.nextIncomingFrame
(Frame frame, Callback callback) protected void
PerMessageDeflateExtension.nextOutgoingFrame
(Frame frame, Callback callback, boolean batch) protected void
MessageHandler.onBinaryFrame
(Frame frame, Callback callback) protected void
MessageHandler.onCloseFrame
(Frame frame, Callback callback) protected void
MessageHandler.onContinuationFrame
(Frame frame, Callback callback) void
void
void
void
void
void
boolean
WebSocketSessionState.onIncomingFrame
(Frame frame) boolean
WebSocketSessionState.onOutgoingFrame
(Frame frame) protected void
MessageHandler.onPingFrame
(Frame frame, Callback callback) protected void
MessageHandler.onPongFrame
(Frame frame, Callback callback) protected void
MessageHandler.onTextFrame
(Frame frame, Callback callback) byte
ValidationExtension.recordLastOpCode
(Frame frame, byte prevOpcode) void
void
void
void
void
-
Uses of Frame in org.eclipse.jetty.websocket.core.messages
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
Consumes the WebSocket frame, possibly asynchronously when this method has returned.void
void
void
void
-
Uses of Frame in org.eclipse.jetty.websocket.core.util
Modifier and TypeMethodDescriptionstatic void
FrameValidation.assertValidFrame
(Frame frame, CoreSession coreSession) static void
FrameValidation.assertValidIncoming
(Frame frame, CoreSession coreSession) static void
FrameValidation.assertValidOutgoing
(Frame frame, CoreSession coreSession) void
This is used within an implementation ofDemandingFlusher.handle(Frame, Callback, boolean)
to forward a frame onto the next layer of processing.protected abstract void
FragmentingFlusher.forwardFrame
(Frame frame, Callback callback, boolean batch) protected abstract boolean
Called when there is demand for a single frame to be produced.void
Used to supply the flusher with a new frame.protected boolean
protected abstract boolean
Called when a frame is ready to be transformed.final void