Class WebSocketClientSupport

java.lang.Object
com.gsitm.ustra.web.socket.client.WebSocketClientSupport

public final class WebSocketClientSupport extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession>
    SockJs를 서버 연결
    static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession>
    connectSockJs(String uri, List<org.springframework.web.socket.sockjs.client.Transport> transports)
    SockJs를 서버 연결
    static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession>
    connectSockJs(String uri, org.springframework.web.socket.WebSocketHandler handler)
    SockJs를 서버 연결
    static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession>
    connectSockJs(String uri, org.springframework.web.socket.WebSocketHandler handler, List<org.springframework.web.socket.sockjs.client.Transport> transports)
    SockJs를 서버 연결
    static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession>
    웹 소켓을 연결한다.
    static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession>
    connectWebSocket(String uri, org.springframework.web.socket.WebSocketHandler handler)
    웹 소켓을 연결한다.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • connectWebSocket

      public static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession> connectWebSocket(String uri, org.springframework.web.socket.WebSocketHandler handler) throws URISyntaxException
      웹 소켓을 연결한다.
      Parameters:
      uri - URI
      handler - 클라이언트 핸들러
      Returns:
      ListenableFuture
      Throws:
      URISyntaxException
    • connectWebSocket

      public static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession> connectWebSocket(String uri) throws URISyntaxException
      웹 소켓을 연결한다.
      Parameters:
      uri - URI
      Returns:
      ListenableFuture
      Throws:
      URISyntaxException
    • connectSockJs

      public static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession> connectSockJs(String uri, org.springframework.web.socket.WebSocketHandler handler, List<org.springframework.web.socket.sockjs.client.Transport> transports) throws URISyntaxException
      SockJs를 서버 연결
      Parameters:
      uri - URI
      handler - 클라이언트 핸들러
      transports - Transport 목록
      Returns:
      ListenableFuture
      Throws:
      URISyntaxException
    • connectSockJs

      public static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession> connectSockJs(String uri, org.springframework.web.socket.WebSocketHandler handler) throws URISyntaxException
      SockJs를 서버 연결
      Parameters:
      uri - URI
      handler - 클라이언트 핸들러
      Returns:
      ListenableFuture
      Throws:
      URISyntaxException
    • connectSockJs

      public static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession> connectSockJs(String uri, List<org.springframework.web.socket.sockjs.client.Transport> transports) throws URISyntaxException
      SockJs를 서버 연결
      Parameters:
      uri - URI
      handler - 클라이언트 핸들러
      transports - Transport 목록
      Returns:
      ListenableFuture
      Throws:
      URISyntaxException
    • connectSockJs

      public static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession> connectSockJs(String uri) throws URISyntaxException
      SockJs를 서버 연결
      Parameters:
      uri - URI
      Returns:
      ListenableFuture
      Throws:
      URISyntaxException