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.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) 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
Receiver of all Frames.void
Process the incoming frame.void
void
void
A frame, and optional callback, intended for the network layer. -
Uses of Frame in org.eclipse.jetty.websocket.core.internal
Modifier and TypeFieldDescriptionstatic final Frame
FrameFlusher.FLUSH_FRAME
final Frame
FrameEntry.frame
Modifier and TypeMethodDescriptionvoid
This is used within an implementation ofDemandingFlusher.handle(Frame, Callback, boolean)
to forward a frame onto the next layer of processing.boolean
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 abstract boolean
Called when there is demand for a single frame to be produced.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
Used to supply the flusher with a new frame.void
void
protected boolean
void
void
void
void
protected abstract boolean
Called when a frame is ready to be transformed.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
final void
void
void
-
Uses of Frame in org.eclipse.jetty.websocket.core.internal.messages
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
Consume the frame payload to the message.void
void
void
void
abstract MessageSink
-
Uses of Frame in org.eclipse.jetty.websocket.core.internal.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) -
Uses of Frame in org.eclipse.jetty.websocket.javax.common
Modifier and TypeMethodDescriptionvoid
void
void
JavaxWebSocketFrameHandler.onContinuation
(Frame frame, Callback callback) void
void
void
void
void
-
Uses of Frame in org.eclipse.jetty.websocket.javax.common.messages