Uses of Interface
jakarta.websocket.MessageHandler
Packages that use MessageHandler
Package
Description
This package contains all the Jakarta WebSocket APIs common to both the client and server side.
-
Uses of MessageHandler in jakarta.websocket
Subinterfaces of MessageHandler in jakarta.websocketModifier 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.Methods in jakarta.websocket that return types with arguments of type MessageHandlerModifier and TypeMethodDescriptionSession.getMessageHandlers()
Return an unmodifiable copy of the set of MessageHandlers for this Session.Methods in jakarta.websocket with parameters of type MessageHandlerModifier 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.