Uses of Interface
jakarta.websocket.SendHandler
-
Packages that use SendHandler Package Description jakarta.websocket This package contains all the Jakarta WebSocket APIs common to both the client and server side.org.glassfish.tyrus.core Core classes.org.glassfish.tyrus.core.cluster Cluster relates classes and interfaces. -
-
Uses of SendHandler in jakarta.websocket
Methods in jakarta.websocket with parameters of type SendHandler Modifier and Type Method Description void
RemoteEndpoint.Async. sendBinary(java.nio.ByteBuffer data, SendHandler handler)
Initiates the asynchronous transmission of a binary message.void
RemoteEndpoint.Async. sendObject(java.lang.Object data, SendHandler handler)
Initiates the asynchronous transmission of a custom developer object.void
RemoteEndpoint.Async. sendText(java.lang.String text, SendHandler handler)
Initiates the asynchronous transmission of a text message. -
Uses of SendHandler in org.glassfish.tyrus.core
Methods in org.glassfish.tyrus.core with parameters of type SendHandler Modifier and Type Method Description void
ProtocolHandler. send(byte[] data, SendHandler handler)
Deprecated.void
ProtocolHandler. send(byte[] data, SendHandler handler, WriterInfo writerInfo)
void
ProtocolHandler. send(java.lang.String data, SendHandler handler)
Deprecated.void
ProtocolHandler. send(java.lang.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(java.lang.String data, SendHandler handler)
Deprecated.void
TyrusWebSocket. sendText(java.lang.String data, SendHandler handler, WriterInfo writerInfo)
Send a text frame to the remote endpoint. -
Uses of SendHandler in org.glassfish.tyrus.core.cluster
Methods in org.glassfish.tyrus.core.cluster with parameters of type SendHandler Modifier and Type Method Description abstract void
ClusterContext. sendBinary(java.lang.String sessionId, byte[] data, SendHandler sendHandler)
Send binary message withSendHandler
.abstract void
ClusterContext. sendText(java.lang.String sessionId, java.lang.String text, SendHandler sendHandler)
Send text message withSendHandler
.
-