Uses of Interface
javax.websocket.MessageHandler
-
Packages that use MessageHandler Package Description javax.websocket This package contains all the 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 MessageHandler in javax.websocket
Subinterfaces of MessageHandler in javax.websocket Modifier and Type Interface Description static interface
MessageHandler.Partial<T>
This kind of handler is notified by the implementation as it becomes ready to deliver parts of a whole message.static interface
MessageHandler.Whole<T>
This kind of handler is notified by the container on arrival of a complete message.Methods in javax.websocket that return types with arguments of type MessageHandler Modifier and Type Method Description java.util.Set<MessageHandler>
Session. getMessageHandlers()
Return an unmodifiable copy of the set of MessageHandlers for this Session.Methods in javax.websocket with parameters of type MessageHandler Modifier and Type Method Description void
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
Methods in org.glassfish.tyrus.core that return types with arguments of type MessageHandler Modifier and Type Method Description java.util.Set<MessageHandler>
MessageHandlerManager. getMessageHandlers()
Get all successfully registeredMessageHandler
s.java.util.Set<MessageHandler>
TyrusSession. getMessageHandlers()
java.util.List<java.util.Map.Entry<java.lang.Class<?>,MessageHandler>>
MessageHandlerManager. getOrderedWholeMessageHandlers()
Methods in org.glassfish.tyrus.core with parameters of type MessageHandler Modifier and Type Method Description void
MessageHandlerManager. addMessageHandler(MessageHandler handler)
AddMessageHandler
to the manager.void
TyrusSession. addMessageHandler(MessageHandler handler)
void
MessageHandlerManager. removeMessageHandler(MessageHandler handler)
RemoveMessageHandler
from the manager.void
TyrusSession. removeMessageHandler(MessageHandler handler)
-
Uses of MessageHandler in org.glassfish.tyrus.core.cluster
Methods in org.glassfish.tyrus.core.cluster that return types with arguments of type MessageHandler Modifier and Type Method Description java.util.Set<MessageHandler>
RemoteSession. getMessageHandlers()
This method is not supported onRemoteSession
.Methods in org.glassfish.tyrus.core.cluster with parameters of type MessageHandler Modifier and Type Method Description void
RemoteSession. addMessageHandler(MessageHandler handler)
This method is not supported onRemoteSession
.void
RemoteSession. removeMessageHandler(MessageHandler handler)
This method is not supported onRemoteSession
.
-