Interface ServerEndpointConfig

All Superinterfaces:
EndpointConfig

public interface ServerEndpointConfig extends EndpointConfig
Provides configuration information for WebSocket endpoints published to a server. Applications may provide their own implementation or use ServerEndpointConfig.Builder.
  • Method Details

    • getEndpointClass

      Class<?> getEndpointClass()
      Returns the class of the endpoint.
      Returns:
      The endpoint class
    • getPath

      String getPath()
      Returns the path at which this WebSocket server endpoint has been registered. It may be a path or a level 0 URI template.
      Returns:
      The registered path
    • getSubprotocols

      List<String> getSubprotocols()
      Returns the list of sub-protocols supported by this endpoint.
      Returns:
      The list of supported sub-protocols
    • getExtensions

      List<Extension> getExtensions()
      Returns the list of extensions supported by this endpoint.
      Returns:
      The list of supported extensions
    • getConfigurator

      Returns the configurator for this server endpoint.
      Returns:
      The configurator