Package sk.gursky.films
Class WebSocketConfig
java.lang.Object
sk.gursky.films.WebSocketConfig
- All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
@Configuration
@EnableWebSocketMessageBroker
public class WebSocketConfig
extends java.lang.Object
implements org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
Constructor Summary
Constructors Constructor Description WebSocketConfig()
-
Method Summary
Modifier and Type Method Description void
configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config)
void
registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
-
Constructor Details
-
WebSocketConfig
public WebSocketConfig()
-
-
Method Details
-
configureMessageBroker
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config)- Specified by:
configureMessageBroker
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
registerStompEndpoints
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)- Specified by:
registerStompEndpoints
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-