Package org.openxava.chat
Class ChatEndpoint
java.lang.Object
org.openxava.chat.ChatEndpoint
WebSocket endpoint for chat functionality.
Uses ServiceLoader to find an IChatService implementation.
If no implementation is found (Java 17 module not present), returns a generic message.
- Author:
- Javier Paniza
-
Constructor Details
-
ChatEndpoint
public ChatEndpoint()
-
-
Method Details
-
onOpen
public void onOpen(javax.websocket.Session session, javax.websocket.EndpointConfig config) -
onMessage
-
onClose
public void onClose(javax.websocket.Session session) -
onError
-