public class GlassFishRequestUpgradeStrategy extends AbstractStandardUpgradeStrategy
ServletServerContainerFactoryBean in XML configuration or if using Java
configuration, access the container instance through the
"javax.websocket.server.ServerContainer" ServletContext attribute.logger| Constructor and Description |
|---|
GlassFishRequestUpgradeStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getSupportedVersions()
Return the supported WebSocket protocol versions.
|
void |
upgradeInternal(org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response,
String selectedProtocol,
javax.websocket.Endpoint endpoint) |
upgradepublic String[] getSupportedVersions()
RequestUpgradeStrategypublic void upgradeInternal(org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response,
String selectedProtocol,
javax.websocket.Endpoint endpoint)
throws HandshakeFailureException
upgradeInternal in class AbstractStandardUpgradeStrategyHandshakeFailureException