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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class javax.websocket.server.ServerEndpointConfig.Configurator