Package com.vaadin.flow.spring
Class VaadinWebsocketEndpointExporter
- java.lang.Object
-
- org.springframework.context.support.ApplicationObjectSupport
-
- org.springframework.web.context.support.WebApplicationObjectSupport
-
- org.springframework.web.socket.server.standard.ServerEndpointExporter
-
- com.vaadin.flow.spring.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.ServerEndpointExporterHandles 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.
-
-
Constructor Summary
Constructors Constructor Description VaadinWebsocketEndpointExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()protected voidregisterEndpoints()-
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
-
-
-
-
Method Detail
-
registerEndpoints
protected void registerEndpoints()
- Overrides:
registerEndpointsin classorg.springframework.web.socket.server.standard.ServerEndpointExporter
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classorg.springframework.web.socket.server.standard.ServerEndpointExporter
-
-