Uses of Interface
jakarta.websocket.MessageHandler
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 MessageHandler in jakarta.websocket
Modifier and TypeInterfaceDescriptionstatic interface
This kind of handler is notified by the implementation as it becomes ready to deliver parts of a whole message.static interface
This kind of handler is notified by the container on arrival of a complete message.Modifier and TypeMethodDescriptionSession.getMessageHandlers()
Return an unmodifiable copy of the set of MessageHandlers for this Session.Modifier and TypeMethodDescriptionvoid
Session.addMessageHandler
(MessageHandler handler) Register to handle to incoming messages in this conversation.void
Session.removeMessageHandler
(MessageHandler handler) Remove the given MessageHandler from the set belonging to this session. -
Uses of MessageHandler in org.glassfish.tyrus.core
Modifier and TypeMethodDescriptionMessageHandlerManager.getMessageHandlers()
Get all successfully registeredMessageHandler
s.TyrusSession.getMessageHandlers()
List
<Map.Entry<Class<?>, MessageHandler>> MessageHandlerManager.getOrderedWholeMessageHandlers()
Modifier and TypeMethodDescriptionvoid
MessageHandlerManager.addMessageHandler
(MessageHandler handler) AddMessageHandler
to the manager.void
TyrusSession.addMessageHandler
(MessageHandler handler) Deprecated.void
MessageHandlerManager.removeMessageHandler
(MessageHandler handler) RemoveMessageHandler
from the manager.void
TyrusSession.removeMessageHandler
(MessageHandler handler) -
Uses of MessageHandler in org.glassfish.tyrus.core.cluster
Modifier and TypeMethodDescriptionRemoteSession.getMessageHandlers()
This method is not supported onRemoteSession
.Modifier and TypeMethodDescriptionvoid
RemoteSession.addMessageHandler
(MessageHandler handler) This method is not supported onRemoteSession
.void
RemoteSession.removeMessageHandler
(MessageHandler handler) This method is not supported onRemoteSession
.
TyrusSession.addMessageHandler(Class, jakarta.websocket.MessageHandler.Whole)
orTyrusSession.addMessageHandler(Class, jakarta.websocket.MessageHandler.Partial)