@Configuration @ConditionalOnClass(name="org.apache.tomcat.websocket.server.WsSci", value={, , }) public class WebSocketAutoConfiguration extends Object
spring-websocket
is detected on the classpath then we add a listener that
installs the Tomcat Websocket initializer. In a non-embedded container it should
already be there.Constructor and Description |
---|
WebSocketAutoConfiguration() |
@Bean @ConditionalOnMissingBean(name="websocketContainerCustomizer") public EmbeddedServletContainerCustomizer websocketContainerCustomizer()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.