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).
io.undertow.websockets.jsr.ServerWebSocketContainer#doUpgrade
| Modifier and Type | Field and Description |
|---|---|
| private static final String[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | getSupportedVersions()
Overrides org. Implements org. Return the supported WebSocket protocol versions. |
| protected void | upgradeHttpToWebSocket(HttpServletRequest request, HttpServletResponse response, ServerEndpointConfig endpointConfig, Map<String, String> pathParams)
|
| SUPPORTED_VERSIONS | back to summary |
|---|---|
| private static final String[] SUPPORTED_VERSIONS Hides org. | |
| UndertowRequestUpgradeStrategy | back to summary |
|---|---|
| public UndertowRequestUpgradeStrategy() | |
| getSupportedVersions | back to summary |
|---|---|
| public String[] getSupportedVersions() Overrides org. Implements org. Doc from org. Return the supported WebSocket protocol versions.
| |
| upgradeHttpToWebSocket | back to summary |
|---|---|
protected void upgradeHttpToWebSocket(HttpServletRequest request, HttpServletResponse response, ServerEndpointConfig endpointConfig, Map<String, String> pathParams) throws Exception
| |