Class JSR356AsyncSupport.AtmosphereConfigurator

java.lang.Object
jakarta.websocket.server.ServerEndpointConfig.Configurator
org.atmosphere.container.JSR356AsyncSupport.AtmosphereConfigurator
Enclosing class:
JSR356AsyncSupport

public static final class JSR356AsyncSupport.AtmosphereConfigurator extends jakarta.websocket.server.ServerEndpointConfig.Configurator
  • Constructor Details

  • Method Details

    • getEndpointInstance

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

      public boolean checkOrigin(String originHeaderValue)
      Calls checkOrigin(String) in super class if a Default Configurator could be loaded. Otherwise true is returned as default.
      Overrides:
      checkOrigin in class jakarta.websocket.server.ServerEndpointConfig.Configurator
    • getNegotiatedSubprotocol

      public String getNegotiatedSubprotocol(List<String> supported, List<String> requested)
      Calls getNegotiatedSubprotocol(List, List) in super class if a Default Configurator could be loaded. Otherwise "" is returned as default.
      Overrides:
      getNegotiatedSubprotocol in class jakarta.websocket.server.ServerEndpointConfig.Configurator
    • getNegotiatedExtensions

      public List<jakarta.websocket.Extension> getNegotiatedExtensions(List<jakarta.websocket.Extension> installed, List<jakarta.websocket.Extension> requested)
      Calls getNegotiatedExtensions(List, List) in super class if a Default Configurator could be loaded. Otherwise the list of matching extensions is returned as default.
      Overrides:
      getNegotiatedExtensions in class jakarta.websocket.server.ServerEndpointConfig.Configurator
    • modifyHandshake

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