Consistent documentation references to Jakarta WebSocket (2.1)
Closes gh-29581
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Adapter classes for the standard Java WebSocket API.
|
||||
* Adapter classes for the standard Jakarta WebSocket API.
|
||||
*/
|
||||
@NonNullApi
|
||||
@NonNullFields
|
||||
|
||||
@@ -51,7 +51,7 @@ import org.springframework.web.socket.adapter.standard.WebSocketToStandardExtens
|
||||
import org.springframework.web.socket.client.AbstractWebSocketClient;
|
||||
|
||||
/**
|
||||
* A WebSocketClient based on standard Java WebSocket API.
|
||||
* A WebSocketClient based on the standard Jakarta WebSocket API.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 4.0
|
||||
@@ -88,7 +88,7 @@ public class StandardWebSocketClient extends AbstractWebSocketClient {
|
||||
|
||||
|
||||
/**
|
||||
* The standard Java WebSocket API allows passing "user properties" to the
|
||||
* The standard Jakarta WebSocket API allows passing "user properties" to the
|
||||
* server via {@link ClientEndpointConfig#getUserProperties() userProperties}.
|
||||
* Use this property to configure one or more properties to be passed on
|
||||
* every handshake.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Client-side classes for use with standard Java WebSocket endpoints.
|
||||
* Client-side classes for use with standard Jakarta WebSocket endpoints.
|
||||
*/
|
||||
@NonNullApi
|
||||
@NonNullFields
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 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.
|
||||
@@ -31,6 +31,7 @@ import org.springframework.web.socket.WebSocketHandler;
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 4.0
|
||||
* @see org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
|
||||
*/
|
||||
public interface RequestUpgradeStrategy {
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.springframework.web.context.support.WebApplicationObjectSupport;
|
||||
|
||||
/**
|
||||
* Detects beans of type {@link jakarta.websocket.server.ServerEndpointConfig} and registers
|
||||
* with the standard Java WebSocket runtime. Also detects beans annotated with
|
||||
* with the standard Jakarta WebSocket runtime. Also detects beans annotated with
|
||||
* {@link ServerEndpoint} and registers them as well. Although not required, it is likely
|
||||
* annotated endpoints should have their {@code configurator} property set to
|
||||
* {@link SpringConfigurator}.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2018 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.
|
||||
@@ -38,7 +38,7 @@ import org.springframework.web.socket.handler.BeanCreatingHandlerProvider;
|
||||
/**
|
||||
* An implementation of {@link jakarta.websocket.server.ServerEndpointConfig} for use in
|
||||
* Spring-based applications. A {@link ServerEndpointRegistration} bean is detected by
|
||||
* {@link ServerEndpointExporter} and registered with a Java WebSocket runtime at startup.
|
||||
* {@link ServerEndpointExporter} and registered with a Jakarta WebSocket runtime at startup.
|
||||
*
|
||||
* <p>Class constructors accept a singleton {@link jakarta.websocket.Endpoint} instance
|
||||
* or an Endpoint specified by type {@link Class}. When specified by type, the endpoint
|
||||
|
||||
Reference in New Issue
Block a user