Uses of Interface
jakarta.websocket.SendHandler
Package
Description
This package contains all the Jakarta WebSocket APIs common to both the client and server side.
Core classes.
Cluster relates classes and interfaces.
-
Uses of SendHandler in jakarta.websocket
Modifier and TypeMethodDescriptionvoid
RemoteEndpoint.Async.sendBinary
(ByteBuffer data, SendHandler handler) Initiates the asynchronous transmission of a binary message.void
RemoteEndpoint.Async.sendObject
(Object data, SendHandler handler) Initiates the asynchronous transmission of a custom developer object.void
RemoteEndpoint.Async.sendText
(String text, SendHandler handler) Initiates the asynchronous transmission of a text message. -
Uses of SendHandler in org.glassfish.tyrus.core
Modifier and TypeMethodDescriptionvoid
ProtocolHandler.send
(byte[] data, SendHandler handler) Deprecated.void
ProtocolHandler.send
(byte[] data, SendHandler handler, WriterInfo writerInfo) void
ProtocolHandler.send
(String data, SendHandler handler) Deprecated.void
ProtocolHandler.send
(String data, SendHandler handler, WriterInfo writerInfo) void
TyrusWebSocket.sendBinary
(byte[] data, SendHandler handler) Deprecated.void
TyrusWebSocket.sendBinary
(byte[] data, SendHandler handler, WriterInfo writerInfo) Send a binary frame to the remote endpoint.void
TyrusWebSocket.sendText
(String data, SendHandler handler) Deprecated.void
TyrusWebSocket.sendText
(String data, SendHandler handler, WriterInfo writerInfo) Send a text frame to the remote endpoint. -
Uses of SendHandler in org.glassfish.tyrus.core.cluster
Modifier and TypeMethodDescriptionabstract void
ClusterContext.sendBinary
(String sessionId, byte[] data, SendHandler sendHandler) Send binary message withSendHandler
.abstract void
ClusterContext.sendText
(String sessionId, String text, SendHandler sendHandler) Send text message withSendHandler
.