open class StandardWebSocketClient : AbstractWebSocketClient
A WebSocketClient based on standard Java WebSocket API.
Author
Rossen Stoyanchev
Since
4.0
StandardWebSocketClient()
Default constructor that calls StandardWebSocketClient(webSocketContainer: WebSocketContainer)
Constructor accepting an existing WebSocketContainer instance. For XML configuration, see WebSocketContainerFactoryBean. For Java configuration, use |
open fun getTaskExecutor(): AsyncListenableTaskExecutor
Return the configured TaskExecutor. |
|
open fun getUserProperties(): MutableMap<String, Any>
The configured user properties. |
|
open fun setTaskExecutor(taskExecutor: AsyncListenableTaskExecutor): Unit
Set an AsyncListenableTaskExecutor to use when opening connections. If this property is set to By default, an instance of |
|
open fun setUserProperties(userProperties: MutableMap<String, Any>): Unit
The standard Java WebSocket API allows passing "user properties" to the server via |