Package io.dialob.session.boot
Class ApplicationAutoConfiguration.SockJSWebSocketConfigurer
java.lang.Object
io.dialob.session.boot.ApplicationAutoConfiguration.SockJSWebSocketConfigurer
- All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketConfigurer
- Enclosing class:
ApplicationAutoConfiguration
@Configuration(proxyBeanMethods=false)
@EnableWebSocket
@ConditionalOnProperty(prefix="dialob.session.sockjs",
name="webSocketEnabled",
havingValue="true")
public static class ApplicationAutoConfiguration.SockJSWebSocketConfigurer
extends Object
implements org.springframework.web.socket.config.annotation.WebSocketConfigurer
-
Constructor Summary
ConstructorsConstructorDescriptionSockJSWebSocketConfigurer(DialobSettings settings, org.springframework.web.socket.WebSocketHandler perConnectionWebSocketHandler, org.springframework.scheduling.TaskScheduler taskScheduler) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.socket.server.standard.ServletServerContainerFactoryBeanvoidregisterWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry webSocketHandlerRegistry)
-
Constructor Details
-
SockJSWebSocketConfigurer
public SockJSWebSocketConfigurer(DialobSettings settings, org.springframework.web.socket.WebSocketHandler perConnectionWebSocketHandler, org.springframework.scheduling.TaskScheduler taskScheduler)
-
-
Method Details
-
registerWebSocketHandlers
public void registerWebSocketHandlers(@NonNull org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry webSocketHandlerRegistry) - Specified by:
registerWebSocketHandlersin interfaceorg.springframework.web.socket.config.annotation.WebSocketConfigurer
-
createWebSocketContainer
@Bean public org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean createWebSocketContainer()
-