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.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
-
Constructor Summary
-
Method Summary
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 Details
-
VaadinWebsocketEndpointExporter
public VaadinWebsocketEndpointExporter()
-
-
Method Details
-
registerEndpoints
protected void registerEndpoints()- Overrides:
registerEndpoints
in classorg.springframework.web.socket.server.standard.ServerEndpointExporter
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in classorg.springframework.web.socket.server.standard.ServerEndpointExporter
-