Consistent documentation references to Jakarta WebSocket (2.1)

Closes gh-29581
This commit is contained in:
Juergen Hoeller
2022-11-25 17:07:30 +01:00
parent 9c7b471634
commit 21d3a7529c
14 changed files with 28 additions and 33 deletions

View File

@@ -42,7 +42,7 @@ import org.springframework.web.reactive.socket.WebSocketSession;
/**
* Base class for {@link WebSocketSession} implementations that bridge between
* event-listener WebSocket APIs (e.g. Java WebSocket API JSR-356, Jetty,
* event-listener WebSocket APIs (e.g. Jakarta WebSocket API (JSR-356), Jetty,
* Undertow) and Reactive Streams.
*
* <p>Also implements {@code Subscriber<Void>} so it can be used to subscribe to

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2021 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -36,8 +36,8 @@ import org.springframework.web.reactive.socket.WebSocketMessage.Type;
import org.springframework.web.reactive.socket.WebSocketSession;
/**
* Adapter for Java WebSocket API (JSR-356) that delegates events to a reactive
* {@link WebSocketHandler} and its session.
* Adapter for the Jakarta WebSocket API (JSR-356) that delegates events to a
* reactive {@link WebSocketHandler} and its session.
*
* @author Violeta Georgieva
* @author Rossen Stoyanchev

View File

@@ -43,7 +43,7 @@ import org.springframework.web.reactive.socket.adapter.StandardWebSocketHandlerA
import org.springframework.web.reactive.socket.adapter.StandardWebSocketSession;
/**
* {@link WebSocketClient} implementation for use with the Java WebSocket API.
* {@link WebSocketClient} implementation for use with the Jakarta WebSocket API.
*
* @author Violeta Georgieva
* @author Rossen Stoyanchev

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,14 +26,15 @@ import org.springframework.web.reactive.socket.adapter.StandardWebSocketSession;
import org.springframework.web.reactive.socket.adapter.TomcatWebSocketSession;
/**
* {@link WebSocketClient} implementation for use with the Java WebSocket API.
* {@link WebSocketClient} implementation for use with Tomcat,
* based on the Jakarta WebSocket API.
*
* @author Violeta Georgieva
* @since 5.0
* @see StandardWebSocketClient
*/
public class TomcatWebSocketClient extends StandardWebSocketClient {
public TomcatWebSocketClient() {
this(new WsWebSocketContainer());
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2021 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,11 +33,12 @@ import org.springframework.web.server.ServerWebExchange;
*
* <p>Typically there is one such strategy for every {@link ServerHttpRequest}
* and {@link ServerHttpResponse} type except in the case of Servlet containers
* for which the standard Java WebSocket API JSR-356 does not define a way to
* for which the standard Jakarta WebSocket API (JSR-356) does not define a way to
* upgrade a request so a custom strategy is needed for every Servlet container.
*
* @author Rossen Stoyanchev
* @since 5.0
* @see org.springframework.web.reactive.socket.server.upgrade.StandardWebSocketUpgradeStrategy
*/
public interface RequestUpgradeStrategy {