Class WebSphereRequestUpgradeStrategy
java.lang.Object
org.springframework.web.socket.server.standard.AbstractStandardUpgradeStrategy
org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
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.- Since:
- 4.2.1
- Author:
- Rossen Stoyanchev, Juergen Hoeller
-
Field Summary
Fields inherited from class org.springframework.web.socket.server.standard.AbstractStandardUpgradeStrategy
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
upgradeHttpToWebSocket
(HttpServletRequest request, HttpServletResponse response, ServerEndpointConfig endpointConfig, Map<String, String> pathParams) Methods inherited from class org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy
getSupportedVersions, upgradeInternal
Methods inherited from class org.springframework.web.socket.server.standard.AbstractStandardUpgradeStrategy
getContainer, getHttpServletRequest, getHttpServletResponse, getInstalledExtensions, getSupportedExtensions, upgrade
-
Constructor Details
-
WebSphereRequestUpgradeStrategy
public WebSphereRequestUpgradeStrategy()
-
-
Method Details
-
upgradeHttpToWebSocket
protected void upgradeHttpToWebSocket(HttpServletRequest request, HttpServletResponse response, ServerEndpointConfig endpointConfig, Map<String, String> pathParams) throws Exception- Overrides:
upgradeHttpToWebSocket
in classStandardWebSocketUpgradeStrategy
- Throws:
Exception
-