Class VaadinWebsocketEndpointExporter

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.SmartInitializingSingleton, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware

    public class VaadinWebsocketEndpointExporter
    extends org.springframework.web.socket.server.standard.ServerEndpointExporter
    Handles registration of JSR-356 websocket endpoints when the Spring Boot application is run in an embedded container. Also triggered when running in a real server but is not necessary in this scenario as JSR356WebsocketInitializer is triggered by the servlet container.
    • Field Summary

      • Fields inherited from class org.springframework.context.support.ApplicationObjectSupport

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()  
      protected void registerEndpoints()  
      • Methods inherited from class org.springframework.web.socket.server.standard.ServerEndpointExporter

        afterSingletonsInstantiated, getServerContainer, initServletContext, isContextRequired, setAnnotatedEndpointClasses, setServerContainer
      • Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport

        getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, setServletContext
      • Methods inherited from class org.springframework.context.support.ApplicationObjectSupport

        getApplicationContext, getMessageSourceAccessor, initApplicationContext, obtainApplicationContext, requiredContextClass, setApplicationContext
    • Constructor Detail

      • VaadinWebsocketEndpointExporter

        public VaadinWebsocketEndpointExporter()
    • Method Detail

      • registerEndpoints

        protected void registerEndpoints()
        Overrides:
        registerEndpoints in class org.springframework.web.socket.server.standard.ServerEndpointExporter
      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Overrides:
        afterPropertiesSet in class org.springframework.web.socket.server.standard.ServerEndpointExporter