Class WebSocketClientSupport
java.lang.Object
com.gsitm.ustra.web.socket.client.WebSocketClientSupport
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession>connectSockJs(String uri) 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>connectWebSocket(String uri) 웹 소켓을 연결한다.static org.springframework.util.concurrent.ListenableFuture<org.springframework.web.socket.WebSocketSession>connectWebSocket(String uri, org.springframework.web.socket.WebSocketHandler handler) 웹 소켓을 연결한다.
-
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- URIhandler- 클라이언트 핸들러- 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- URIhandler- 클라이언트 핸들러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- URIhandler- 클라이언트 핸들러- 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- URIhandler- 클라이언트 핸들러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
-