open class TomcatRequestUpgradeStrategy : AbstractStandardUpgradeStrategy
A WebSocket RequestUpgradeStrategy
for Apache Tomcat. Compatible with all versions of Tomcat that support JSR-356, i.e. Tomcat 7.0.47+ and higher.
To modify properties of the underlying javax.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.
Author
Rossen Stoyanchev
Since
4.0
TomcatRequestUpgradeStrategy()
A WebSocket To modify properties of the underlying javax.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. |
open fun getContainer(request: HttpServletRequest): WsServerContainer |
|
open fun getSupportedVersions(): Array<String> |
|
open fun upgradeInternal(request: ServerHttpRequest, response: ServerHttpResponse, selectedProtocol: String, selectedExtensions: MutableList<Extension>, endpoint: Endpoint): Unit |
open fun getSupportedExtensions(request: ServerHttpRequest): MutableList<WebSocketExtension> |
|
open fun upgrade(request: ServerHttpRequest, response: ServerHttpResponse, selectedProtocol: String, selectedExtensions: MutableList<WebSocketExtension>, user: Principal, wsHandler: WebSocketHandler, attrs: MutableMap<String, Any>): Unit |