Class MCRWebsocketDefaultConfigurator

java.lang.Object
jakarta.websocket.server.ServerEndpointConfig.Configurator
org.mycore.frontend.ws.common.MCRWebsocketDefaultConfigurator

public class MCRWebsocketDefaultConfigurator extends jakarta.websocket.server.ServerEndpointConfig.Configurator
Default mycore configuration for websocket endpoints.
Author:
Michel Buechner (mcrmibue), Matthias Eichner
  • Field Details

  • Constructor Details

    • MCRWebsocketDefaultConfigurator

      public MCRWebsocketDefaultConfigurator()
  • Method Details

    • getEndpointInstance

      public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException
      Overrides:
      getEndpointInstance in class jakarta.websocket.server.ServerEndpointConfig.Configurator
      Throws:
      InstantiationException
    • modifyHandshake

      public void modifyHandshake(jakarta.websocket.server.ServerEndpointConfig config, jakarta.websocket.server.HandshakeRequest request, jakarta.websocket.HandshakeResponse response)
      Overrides:
      modifyHandshake in class jakarta.websocket.server.ServerEndpointConfig.Configurator