Package io.goobi.viewer.websockets
Class GetHttpSessionConfigurator
java.lang.Object
javax.websocket.server.ServerEndpointConfig.Configurator
io.goobi.viewer.websockets.GetHttpSessionConfigurator
public class GetHttpSessionConfigurator
extends javax.websocket.server.ServerEndpointConfig.Configurator
Custom configurator that exposes the HTTP session to the web socket endpoint.
-
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
-
GetHttpSessionConfigurator
public GetHttpSessionConfigurator()
-
-
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
-