Class StandardWebSocketUpgradeStrategy

java.lang.Object
org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
All Implemented Interfaces:
RequestUpgradeStrategy

public class StandardWebSocketUpgradeStrategy extends Object implements RequestUpgradeStrategy
A WebSocket RequestUpgradeStrategy for the Jakarta WebSocket API 2.1+.

To modify properties of the underlying ServerContainer you can use ServletServerContainerFactoryBean in XML configuration or, when using Java configuration, access the container instance through the "jakarta.websocket.server.ServerContainer" ServletContext attribute.

Since:
6.0
Author:
Juergen Hoeller, Rossen Stoyanchev
See Also: