Class UndertowRequestUpgradeStrategy
java.lang.Object
org.springframework.web.socket.server.standard.AbstractStandardUpgradeStrategy
org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
org.springframework.web.socket.server.standard.UndertowRequestUpgradeStrategy
- All Implemented Interfaces:
RequestUpgradeStrategy
@Deprecated(since="6.2.18",
forRemoval=true)
public class UndertowRequestUpgradeStrategy
extends StandardWebSocketUpgradeStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
as of 6.2.18 with no replacement
A WebSocket
RequestUpgradeStrategy for WildFly and its underlying
Undertow web server. Also compatible with embedded Undertow usage.
Designed for Undertow 2.2, also compatible with Undertow 2.3 (which implements Jakarta WebSocket 2.1 as well).
- Since:
- 4.0.1
- Author:
- Rossen Stoyanchev, Juergen Hoeller
- See Also:
-
ServerWebSocketContainer.doUpgrade(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse, jakarta.websocket.server.ServerEndpointConfig, java.util.Map<java.lang.String, java.lang.String>)
-
Field Summary
Fields inherited from class org.springframework.web.socket.server.standard.AbstractStandardUpgradeStrategy
logger -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionString[]Deprecated, for removal: This API element is subject to removal in a future version.Return the supported WebSocket protocol versions.protected voidupgradeHttpToWebSocket(HttpServletRequest request, HttpServletResponse response, ServerEndpointConfig endpointConfig, Map<String, String> pathParams) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
upgradeInternalMethods inherited from class org.springframework.web.socket.server.standard.AbstractStandardUpgradeStrategy
getContainer, getHttpServletRequest, getHttpServletResponse, getInstalledExtensions, getSupportedExtensions, upgrade
-
Constructor Details
-
UndertowRequestUpgradeStrategy
public UndertowRequestUpgradeStrategy()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getSupportedVersions
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:RequestUpgradeStrategyReturn the supported WebSocket protocol versions.- Specified by:
getSupportedVersionsin interfaceRequestUpgradeStrategy- Overrides:
getSupportedVersionsin classStandardWebSocketUpgradeStrategy
-
upgradeHttpToWebSocket
protected void upgradeHttpToWebSocket(HttpServletRequest request, HttpServletResponse response, ServerEndpointConfig endpointConfig, Map<String, String> pathParams) throws ExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
upgradeHttpToWebSocketin classStandardWebSocketUpgradeStrategy- Throws:
Exception
-