@Configuration @ConditionalOnClass(value={javax.servlet.Servlet.class,javax.websocket.server.ServerContainer.class}) @ConditionalOnWebApplication(type=SERVLET) @AutoConfigureBefore(value=ServletWebServerFactoryAutoConfiguration.class) public class WebSocketServletAutoConfiguration extends Object
If Tomcat's WebSocket support is detected on the classpath we add a customizer that installs the Tomcat WebSocket initializer. In a non-embedded server it should already be there.
If Jetty's WebSocket support is detected on the classpath we add a configuration that configures the context with WebSocket support. In a non-embedded server it should already be there.
If Undertow's WebSocket support is detected on the classpath we add a customizer that installs the Undertow WebSocket DeploymentInfo Customizer. In a non-embedded server it should already be there.
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.