abstract class MoquiAbstractEndpoint
An abstract class for WebSocket Endpoint that does basic setup, including creating an ExecutionContext with the user
logged if they were logged in for the corresponding HttpSession (based on the WebSocket HandshakeRequest, ie the
HTTP upgrade request, tied to an existing HttpSession).
The main method to implement is the onMessage(String) method.
If you override the onOpen() method call the super method first.
If you override the onClose() method call the super method last (will clear out all internal fields).