|
|
@ -19,7 +19,6 @@ package org.springframework.web.socket.client.standard; |
|
|
|
import javax.websocket.ContainerProvider; |
|
|
|
import javax.websocket.ContainerProvider; |
|
|
|
import javax.websocket.Session; |
|
|
|
import javax.websocket.Session; |
|
|
|
import javax.websocket.WebSocketContainer; |
|
|
|
import javax.websocket.WebSocketContainer; |
|
|
|
import javax.websocket.server.ServerEndpoint; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.beans.BeansException; |
|
|
|
import org.springframework.beans.BeansException; |
|
|
|
import org.springframework.beans.factory.BeanFactory; |
|
|
|
import org.springframework.beans.factory.BeanFactory; |
|
|
@ -31,10 +30,11 @@ import org.springframework.web.socket.client.ConnectionManagerSupport; |
|
|
|
import org.springframework.web.socket.handler.BeanCreatingHandlerProvider; |
|
|
|
import org.springframework.web.socket.handler.BeanCreatingHandlerProvider; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* A WebSocket connection manager that is given a URI, a {@link ServerEndpoint}-annotated |
|
|
|
* A WebSocket connection manager that is given a URI, a |
|
|
|
* endpoint, connects to a WebSocket server through the {@link #start()} and |
|
|
|
* {@link javax.websocket.ClientEndpoint}-annotated endpoint, connects to a |
|
|
|
* {@link #stop()} methods. If {@link #setAutoStartup(boolean)} is set to {@code true} |
|
|
|
* WebSocket server through the {@link #start()} and {@link #stop()} methods. |
|
|
|
* this will be done automatically when the Spring ApplicationContext is refreshed. |
|
|
|
* If {@link #setAutoStartup(boolean)} is set to {@code true} this will be |
|
|
|
|
|
|
|
* done automatically when the Spring ApplicationContext is refreshed. |
|
|
|
* |
|
|
|
* |
|
|
|
* @author Rossen Stoyanchev |
|
|
|
* @author Rossen Stoyanchev |
|
|
|
* @since 4.0 |
|
|
|
* @since 4.0 |
|
|
|