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 debc3ebecb..9bac8da209 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 @@ -33,7 +33,7 @@ import org.springframework.web.socket.handler.BeanCreatingHandlerProvider; /** * WebSocket {@link ConnectionManagerSupport connection manager} that connects * to the server via {@link WebSocketContainer} and handles the session with an - * {@link javax.websocket.ClientEndpoint @ClientEndpoint} endpoint. + * {@link jakarta.websocket.ClientEndpoint @ClientEndpoint} endpoint. * * @author Rossen Stoyanchev * @since 4.0 diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/SockJsServiceRegistration.java b/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/SockJsServiceRegistration.java index c18cb0ea6e..ffbeb69963 100644 --- a/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/SockJsServiceRegistration.java +++ b/spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/SockJsServiceRegistration.java @@ -102,7 +102,7 @@ public class SockJsServiceRegistration { * server. Since the iframe needs to load the SockJS javascript client library, * this property allows specifying where to load it from. *

By default this is set to point to - * "https://cdn.jsdelivr.net/sockjs/0.3.4/sockjs.min.js". However it can + * "sockjs.min.js". However, it can * also be set to point to a URL served by the application. *

Note that it's possible to specify a relative URL in which case the URL * must be relative to the iframe URL. For example assuming a SockJS endpoint diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/AbstractSockJsMessageCodec.java b/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/AbstractSockJsMessageCodec.java index dbf3461f8b..6fb86f4df4 100644 --- a/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/AbstractSockJsMessageCodec.java +++ b/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/AbstractSockJsMessageCodec.java @@ -46,7 +46,7 @@ public abstract class AbstractSockJsMessageCodec implements SockJsMessageCodec { } /** - * Apply standard JSON string quoting (see https://www.json.org/). + * Apply standard JSON string quoting (see json.org). */ protected abstract char[] applyJsonQuoting(String content); diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java b/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java index 0f30ca9868..2ab5ce0a81 100644 --- a/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java +++ b/spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java @@ -149,7 +149,7 @@ public abstract class AbstractSockJsService implements SockJsService, CorsConfig * server. Since the iframe needs to load the SockJS javascript client library, * this property allows specifying where to load it from. *

By default this is set to point to - * "https://cdn.jsdelivr.net/sockjs/1.0.0/sockjs.min.js". + * "sockjs.min.js". * However, it can also be set to point to a URL served by the application. *

Note that it's possible to specify a relative URL in which case the URL * must be relative to the iframe URL. For example assuming a SockJS endpoint