Package io.goobi.viewer.websockets
Class GetHttpSessionConfigurator
java.lang.Object
jakarta.websocket.server.ServerEndpointConfig.Configurator
io.goobi.viewer.websockets.GetHttpSessionConfigurator
Custom configurator that exposes the HTTP session to the web socket endpoint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmodifyHandshake(ServerEndpointConfig config, HandshakeRequest request, HandshakeResponse response) Methods inherited from class jakarta.websocket.server.ServerEndpointConfig.Configurator
checkOrigin, getContainerDefaultConfigurator, getEndpointInstance, getNegotiatedExtensions, getNegotiatedSubprotocol
-
Constructor Details
-
GetHttpSessionConfigurator
public GetHttpSessionConfigurator()
-
-
Method Details
-
modifyHandshake
public void modifyHandshake(ServerEndpointConfig config, HandshakeRequest request, HandshakeResponse response) - Overrides:
modifyHandshakein classServerEndpointConfig.Configurator
-