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