Class WebSphereRequestUpgradeStrategy
java.lang.Object
org.springframework.web.socket.server.standard.AbstractStandardUpgradeStrategy
org.springframework.web.socket.server.standard.WebSphereRequestUpgradeStrategy
- All Implemented Interfaces:
- RequestUpgradeStrategy
WebSphere support for upgrading an 
HttpServletRequest during a
 WebSocket handshake. 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
 "javax.websocket.server.ServerContainer" ServletContext attribute.
 Tested with WAS Liberty beta (August 2015) for the upcoming 8.5.5.7 release.
- Since:
- 4.2.1
- Author:
- Rossen Stoyanchev
- 
Field SummaryFields inherited from class org.springframework.web.socket.server.standard.AbstractStandardUpgradeStrategylogger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionString[]Return the supported WebSocket protocol versions.voidupgradeInternal(ServerHttpRequest httpRequest, ServerHttpResponse httpResponse, String selectedProtocol, List<Extension> selectedExtensions, Endpoint endpoint) Methods inherited from class org.springframework.web.socket.server.standard.AbstractStandardUpgradeStrategygetContainer, getHttpServletRequest, getHttpServletResponse, getInstalledExtensions, getSupportedExtensions, upgrade
- 
Constructor Details- 
WebSphereRequestUpgradeStrategypublic WebSphereRequestUpgradeStrategy()
 
- 
- 
Method Details- 
getSupportedVersionsDescription copied from interface:RequestUpgradeStrategyReturn the supported WebSocket protocol versions.
- 
upgradeInternalpublic void upgradeInternal(ServerHttpRequest httpRequest, ServerHttpResponse httpResponse, @Nullable String selectedProtocol, List<Extension> selectedExtensions, Endpoint endpoint) throws HandshakeFailureException - Specified by:
- upgradeInternalin class- AbstractStandardUpgradeStrategy
- Throws:
- HandshakeFailureException
 
 
-