Class RSocketServerAutoConfiguration
java.lang.Object
org.springframework.boot.rsocket.autoconfigure.RSocketServerAutoConfiguration
@AutoConfiguration(after=RSocketStrategiesAutoConfiguration.class)
@ConditionalOnClass({io.rsocket.core.RSocketServer.class,RSocketStrategies.class,reactor.netty.http.server.HttpServer.class,io.rsocket.transport.netty.server.TcpServerTransport.class})
@ConditionalOnBean(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:
- 4.0.0
- Author:
- Brian Clozel, Scott Frederick
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RSocketServerAutoConfiguration
public RSocketServerAutoConfiguration()
-