Class WebSocketConfigurator
java.lang.Object
javax.websocket.server.ServerEndpointConfig.Configurator
org.javalite.activeweb.websockets.WebSocketConfigurator
public class WebSocketConfigurator
extends javax.websocket.server.ServerEndpointConfig.Configurator
Based on: https://stackoverflow.com/questions/17936440/accessing-httpsession-from-httpservletrequest-in-a-web-socket-serverendpoint/17994303#17994303
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
modifyHandshake(javax.websocket.server.ServerEndpointConfig config, javax.websocket.server.HandshakeRequest request, javax.websocket.HandshakeResponse response)
Methods inherited from class javax.websocket.server.ServerEndpointConfig.Configurator
checkOrigin, getEndpointInstance, getNegotiatedExtensions, getNegotiatedSubprotocol
-
Constructor Details
-
WebSocketConfigurator
public WebSocketConfigurator()
-
-
Method Details
-
modifyHandshake
public void modifyHandshake(javax.websocket.server.ServerEndpointConfig config, javax.websocket.server.HandshakeRequest request, javax.websocket.HandshakeResponse response)- Overrides:
modifyHandshake
in classjavax.websocket.server.ServerEndpointConfig.Configurator
-