Interface ClientEndpointConfig

All Superinterfaces:
EndpointConfig

public interface ClientEndpointConfig extends EndpointConfig
Provides configuration information for WebSocket client endpoints.
  • Method Details

    • getPreferredSubprotocols

      List<String> getPreferredSubprotocols()
      Returns the list of sub-protocols that this client endpoint supports, in order of preference.
      Returns:
      The list of preferred sub-protocols
    • getExtensions

      List<Extension> getExtensions()
      Returns the list of extensions that this client endpoint supports.
      Returns:
      The list of supported extensions
    • getSSLContext

      SSLContext getSSLContext()
      Returns the SSL context to use for secure WebSocket connections.
      Returns:
      The SSL context, or null if no custom SSL context is configured
    • getConfigurator

      Returns the configurator used to customize the WebSocket handshake.
      Returns:
      The configurator for this client endpoint