Top Description Fields Constructors Methods
org.springframework.web.socket.server.standard

public Class WebSphereRequestUpgradeStrategy

extends StandardWebSocketUpgradeStrategy
Class Inheritance
Imports
java.lang.reflect.Method, java.util.Map, jakarta.servlet.http.HttpServletRequest, .HttpServletResponse, jakarta.websocket.server.ServerContainer, .ServerEndpointConfig

WebSphere support for upgrading an HttpServletRequest during a WebSocket handshake. To modify properties of the underlying jakarta.websocket.server.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.
Authors
Rossen Stoyanchev, Juergen Hoeller
Since
4.2.1

Field Summary

Modifier and TypeField and Description
private static final Method

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
Inherited from org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy:
getSupportedVersionsupgradeInternal

Field Detail

upgradeMethodback to summary
private static final Method upgradeMethod

Constructor Detail

WebSphereRequestUpgradeStrategyback to summary
public WebSphereRequestUpgradeStrategy()

Method Detail

upgradeHttpToWebSocketback to summary
protected void upgradeHttpToWebSocket(HttpServletRequest request, HttpServletResponse response, ServerEndpointConfig endpointConfig, Map<String, String> pathParams) throws Exception

Overrides org.springframework.web.socket.server.standard.StandardWebSocketUpgradeStrategy.upgradeHttpToWebSocket.

Annotations
@Override