Class DefaultWebSocketClientHandler

java.lang.Object
com.gsitm.ustra.web.socket.client.DefaultWebSocketClientHandler
All Implemented Interfaces:
org.springframework.web.socket.WebSocketHandler

public class DefaultWebSocketClientHandler extends Object implements org.springframework.web.socket.WebSocketHandler
기본 동작 웹 소켓 핸들러
  • Constructor Details

    • DefaultWebSocketClientHandler

      public DefaultWebSocketClientHandler()
  • Method Details

    • afterConnectionEstablished

      public void afterConnectionEstablished(org.springframework.web.socket.WebSocketSession session) throws Exception
      Specified by:
      afterConnectionEstablished in interface org.springframework.web.socket.WebSocketHandler
      Throws:
      Exception
    • handleMessage

      public void handleMessage(org.springframework.web.socket.WebSocketSession session, org.springframework.web.socket.WebSocketMessage<?> message) throws Exception
      Specified by:
      handleMessage in interface org.springframework.web.socket.WebSocketHandler
      Throws:
      Exception
    • handleTransportError

      public void handleTransportError(org.springframework.web.socket.WebSocketSession session, Throwable exception) throws Exception
      Specified by:
      handleTransportError in interface org.springframework.web.socket.WebSocketHandler
      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
      Throws:
      Exception
    • supportsPartialMessages

      public boolean supportsPartialMessages()
      Specified by:
      supportsPartialMessages in interface org.springframework.web.socket.WebSocketHandler