Class RSocketServerAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.rsocket.RSocketServerAutoConfiguration

@AutoConfiguration(after=RSocketStrategiesAutoConfiguration.class) @ConditionalOnClass({io.rsocket.core.RSocketServer.class,org.springframework.messaging.rsocket.RSocketStrategies.class,reactor.netty.http.server.HttpServer.class,io.rsocket.transport.netty.server.TcpServerTransport.class}) @ConditionalOnBean(org.springframework.messaging.rsocket.annotation.support.RSocketMessageHandler.class) @EnableConfigurationProperties(RSocketProperties.class) public class RSocketServerAutoConfiguration extends Object
Auto-configuration for RSocket servers. In the case of WebApplicationType.REACTIVE, the RSocket server is added as a WebSocket endpoint on the existing NettyWebServer. If a specific server port is configured, a new standalone RSocket server is created.
Since:
2.2.0
Author:
Brian Clozel
  • Constructor Details

    • RSocketServerAutoConfiguration

      public RSocketServerAutoConfiguration()