public class UndertowRequestUpgradeStrategy extends AbstractStandardUpgradeStrategy
RequestUpgradeStrategy for use with WildFly and its
underlying Undertow web server. Also compatible with embedded Undertow usage.
Compatible with Undertow 1.0, 1.1, 1.2 - as included in WildFly 8.x and 9.0.
logger| Constructor and Description |
|---|
UndertowRequestUpgradeStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getSupportedVersions()
Return the supported WebSocket protocol versions.
|
protected void |
upgradeInternal(ServerHttpRequest request,
ServerHttpResponse response,
String selectedProtocol,
List<Extension> selectedExtensions,
Endpoint endpoint) |
getContainer, getHttpServletRequest, getHttpServletResponse, getInstalledExtensions, getSupportedExtensions, upgradepublic String[] getSupportedVersions()
RequestUpgradeStrategyprotected void upgradeInternal(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<Extension> selectedExtensions, Endpoint endpoint) throws HandshakeFailureException
upgradeInternal in class AbstractStandardUpgradeStrategyHandshakeFailureException