Class WebSocketReactiveAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.websocket.reactive.WebSocketReactiveAutoConfiguration

@AutoConfiguration(before=ReactiveWebServerFactoryAutoConfiguration.class) @ConditionalOnClass({jakarta.servlet.Servlet.class,jakarta.websocket.server.ServerContainer.class}) @ConditionalOnWebApplication(type=REACTIVE) public class WebSocketReactiveAutoConfiguration extends Object
Auto-configuration for WebSocket reactive server in Tomcat, Jetty or Undertow. Requires the appropriate WebSocket modules to be on the classpath.

If Tomcat's WebSocket support is detected on the classpath we add a customizer that installs the Tomcat WebSocket initializer.

Since:
2.0.0
  • Constructor Details

    • WebSocketReactiveAutoConfiguration

      public WebSocketReactiveAutoConfiguration()