@Configuration @ConditionalOnClass(value={, }) public class WebSocketAutoConfiguration extends Object
spring-websocket
and either Tomcat or Jetty with their WebSocket modules
to be on the classpath.
If Tomcat's WebSocket support is detected on the classpath we add a listener that installs the Tomcat Websocket initializer. In a non-embedded container 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 container it should already be there.
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.