类 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.- 从以下版本开始:
- 2.2.0
- 作者:
- Brian Clozel, Scott Frederick
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
RSocketServerAutoConfiguration
public RSocketServerAutoConfiguration()
-