Class WebSocketConfig
java.lang.Object
net.finmath.smartcontract.valuation.service.websocket.WebSocketConfig
- All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketConfigurer
@Configuration
@EnableWebSocket
public class WebSocketConfig
extends Object
implements org.springframework.web.socket.config.annotation.WebSocketConfigurer
Websocket config
setting message size to 1MB and adding currently one handler and its endpoint to the Handler registry
- Author:
- Peter Kohl-Landgraf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
void
registerWebSocketHandlers
(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)
-
Constructor Details
-
WebSocketConfig
public WebSocketConfig()
-
-
Method Details
-
registerWebSocketHandlers
public void registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry) - Specified by:
registerWebSocketHandlers
in interfaceorg.springframework.web.socket.config.annotation.WebSocketConfigurer
-
createWebSocketContainer
@Bean public org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean createWebSocketContainer()
-