Class WebSocketServerConfig
- java.lang.Object
-
- org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer<org.springframework.session.Session>
-
- co.mastermindcms.framework.config.WebSocketServerConfig
-
- All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
@Configuration @EnableScheduling @EnableWebSocketMessageBroker public class WebSocketServerConfig extends org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer<org.springframework.session.Session>
-
-
Constructor Summary
Constructors Constructor Description WebSocketServerConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config)
protected void
configureStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
void
configureWebSocketTransport(org.springframework.web.socket.config.annotation.WebSocketTransportRegistration registration)
-
Methods inherited from class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
configureClientInboundChannel, registerStompEndpoints, sessionRepositoryInterceptor, webSocketRegistryListener, wsConnectHandlerDecoratorFactory
-
-
-
-
Method Detail
-
configureMessageBroker
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config)
-
configureStompEndpoints
protected void configureStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
- Specified by:
configureStompEndpoints
in classorg.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer<org.springframework.session.Session>
-
configureWebSocketTransport
public void configureWebSocketTransport(org.springframework.web.socket.config.annotation.WebSocketTransportRegistration registration)
- Specified by:
configureWebSocketTransport
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
- Overrides:
configureWebSocketTransport
in classorg.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer<org.springframework.session.Session>
-
-