Interface ClientEndpointConfig
- All Superinterfaces:
EndpointConfig
Provides configuration information for WebSocket client endpoints.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder for creatingClientEndpointConfiginstances.static classProvides a mechanism to customize the WebSocket handshake for client endpoints. -
Method Summary
Modifier and TypeMethodDescriptionReturns the configurator used to customize the WebSocket handshake.Returns the list of extensions that this client endpoint supports.Returns the list of sub-protocols that this client endpoint supports, in order of preference.Returns the SSL context to use for secure WebSocket connections.Methods inherited from interface EndpointConfig
getDecoders, getEncoders, getUserProperties
-
Method Details
-
getPreferredSubprotocols
-
getExtensions
-
getSSLContext
SSLContext getSSLContext()Returns the SSL context to use for secure WebSocket connections.- Returns:
- The SSL context, or
nullif no custom SSL context is configured
-
getConfigurator
ClientEndpointConfig.Configurator getConfigurator()Returns the configurator used to customize the WebSocket handshake.- Returns:
- The configurator for this client endpoint
-