Class QuestionnaireWebSocketHandler

    • Constructor Detail

    • Method Detail

      • afterConnectionEstablished

        public void afterConnectionEstablished​(org.springframework.web.socket.WebSocketSession session)
                                        throws Exception
        Specified by:
        afterConnectionEstablished in interface org.springframework.web.socket.WebSocketHandler
        Overrides:
        afterConnectionEstablished in class org.springframework.web.socket.handler.AbstractWebSocketHandler
        Throws:
        Exception
      • isDefaultTenantPathPlaceholder

        protected boolean isDefaultTenantPathPlaceholder​(String tenantId)
      • sendFullForm

        protected void sendFullForm()
      • publishConnectionEvent

        protected void publishConnectionEvent()
      • publishDisconnectionEvent

        protected void publishDisconnectionEvent​(org.springframework.web.socket.CloseStatus closeStatus)
      • handleTextMessage

        public void handleTextMessage​(org.springframework.web.socket.WebSocketSession session,
                                      org.springframework.web.socket.TextMessage message)
        Overrides:
        handleTextMessage in class org.springframework.web.socket.handler.AbstractWebSocketHandler
      • handleTransportError

        public void handleTransportError​(org.springframework.web.socket.WebSocketSession session,
                                         Throwable exception)
                                  throws Exception
        Specified by:
        handleTransportError in interface org.springframework.web.socket.WebSocketHandler
        Overrides:
        handleTransportError in class org.springframework.web.socket.handler.AbstractWebSocketHandler
        Throws:
        Exception
      • afterConnectionClosed

        public void afterConnectionClosed​(org.springframework.web.socket.WebSocketSession session,
                                          org.springframework.web.socket.CloseStatus closeStatus)
                                   throws Exception
        Specified by:
        afterConnectionClosed in interface org.springframework.web.socket.WebSocketHandler
        Overrides:
        afterConnectionClosed in class org.springframework.web.socket.handler.AbstractWebSocketHandler
        Throws:
        Exception
      • supportsPartialMessages

        public boolean supportsPartialMessages()
        Specified by:
        supportsPartialMessages in interface org.springframework.web.socket.WebSocketHandler
        Overrides:
        supportsPartialMessages in class org.springframework.web.socket.handler.AbstractWebSocketHandler
      • sessionIsClosed

        protected boolean sessionIsClosed()