Class 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>
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer

        addArgumentResolvers, addReturnValueHandlers, configureClientOutboundChannel, configureMessageConverters
    • Constructor Detail

      • WebSocketServerConfig

        public WebSocketServerConfig()
    • 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 class org.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 interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
        Overrides:
        configureWebSocketTransport in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer<org.springframework.session.Session>