Uses of Class
org.glassfish.tyrus.core.frame.Frame
Package
Description
Core classes.
WebSocket Extension support.
WebSocket frame representations.
-
Uses of Frame in org.glassfish.tyrus.core
Modifier and TypeMethodDescriptionProtocolHandler.send
(byte[] data) Deprecated.ProtocolHandler.send
(byte[] data, WriterInfo writerInfo) Deprecated.ProtocolHandler.send
(String data, WriterInfo writerInfo) TyrusWebSocket.sendBinary
(byte[] data) Deprecated.TyrusWebSocket.sendBinary
(byte[] bytes, boolean last) Deprecated.TyrusWebSocket.sendBinary
(byte[] bytes, boolean last, WriterInfo writerInfo) Sends a fragment of a complete message.TyrusWebSocket.sendBinary
(byte[] bytes, int off, int len, boolean last) Deprecated.TyrusWebSocket.sendBinary
(byte[] bytes, int off, int len, boolean last, WriterInfo writerInfo) Sends a fragment of a complete message.TyrusWebSocket.sendBinary
(byte[] data, WriterInfo writerInfo) Send a binary frame to the remote endpoint.TyrusWebSocket.sendPing
(byte[] data) Sends aping
frame with the specified payload (if any).TyrusWebSocket.sendPong
(byte[] data) Sends aping
frame with the specified payload (if any).ProtocolHandler.sendRawFrame
(ByteBuffer data) Raw frame is always whole (not partial).TyrusWebSocket.sendRawFrame
(ByteBuffer data) Send a frame to the remote endpoint.Deprecated.Deprecated.TyrusWebSocket.sendText
(String fragment, boolean last, WriterInfo writerInfo) Sends a fragment of a complete message.TyrusWebSocket.sendText
(String data, WriterInfo writerInfo) Send a text frame to the remote endpoint.ProtocolHandler.stream
(boolean last, byte[] bytes, int off, int len) Deprecated.ProtocolHandler.stream
(boolean last, byte[] bytes, int off, int len, WriterInfo writerInfo) Deprecated.ProtocolHandler.stream
(boolean last, String fragment, WriterInfo writerInfo) Modifier and TypeMethodDescriptionvoid
ProtocolHandler.process
(Frame frame, TyrusWebSocket socket) TODO. -
Uses of Frame in org.glassfish.tyrus.core.extension
Modifier and TypeMethodDescriptionExtendedExtension.processIncoming
(ExtendedExtension.ExtensionContext context, Frame frame) Process incoming frame.ExtendedExtension.processOutgoing
(ExtendedExtension.ExtensionContext context, Frame frame) Process outgoing frame.Modifier and TypeMethodDescriptionExtendedExtension.processIncoming
(ExtendedExtension.ExtensionContext context, Frame frame) Process incoming frame.ExtendedExtension.processOutgoing
(ExtendedExtension.ExtensionContext context, Frame frame) Process outgoing frame. -
Uses of Frame in org.glassfish.tyrus.core.frame
Modifier and TypeClassDescriptionclass
Binary frame representation.class
Close frame representation.class
Ping frame representation.class
Pong frame representation.class
Text frame representation.class
Frame representation used in Tyrus runtime.Modifier and TypeMethodDescriptionstatic Frame.Builder
Create newFrame.Builder
based on provided frame.static TyrusFrame
TyrusFrame.wrap
(Frame frame, byte inFragmentedType, ByteBuffer remainder) TyrusFrame
factory method.ModifierConstructorDescriptionBinaryFrame
(Frame frame) Constructor.BinaryFrame
(Frame frame, boolean continuation) Constructor.Constructor.CloseFrame
(Frame frame) Constructor.protected
Copy constructor.Constructor.Constructor.TextFrame
(Frame frame, ByteBuffer remainder) Constructor.TextFrame
(Frame frame, ByteBuffer remainder, boolean continuation) Constructor.protected
TyrusFrame
(Frame frame, TyrusFrame.FrameType frameType) Constructor.