@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={io.rsocket.RSocketFactory.class,org.springframework.messaging.rsocket.RSocketStrategies.class,reactor.netty.http.server.HttpServer.class,io.rsocket.transport.netty.server.TcpServerTransport.class}) @ConditionalOnBean(value=org.springframework.messaging.rsocket.MessageHandlerAcceptor.class) @AutoConfigureAfter(value=RSocketStrategiesAutoConfiguration.class) @EnableConfigurationProperties(value=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.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.