Interface ServerEndpointDeploymentStrategy

  • All Known Implementing Classes:
    DefaultServerEndpointDeploymentStrategy

    public interface ServerEndpointDeploymentStrategy
    A strategy to customize the configuration and deployment of WebSocket server endpoints.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deploy​(javax.websocket.server.ServerContainer container, javax.websocket.server.ServerEndpointConfig.Builder configBuilder)
      Provides the capability to customize how the WebSocket server endpoint is configured and deployed.
    • Method Detail

      • deploy

        void deploy​(javax.websocket.server.ServerContainer container,
                    javax.websocket.server.ServerEndpointConfig.Builder configBuilder)
             throws javax.websocket.DeploymentException
        Provides the capability to customize how the WebSocket server endpoint is configured and deployed.
        Parameters:
        container - The ServerContainer instance on which the endpoint will be deployed.
        configBuilder - The ServerEndpointConfig.Builder object to customize the endpoint configuration.
        Throws:
        javax.websocket.DeploymentException