Class RSocketRequesterAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.rsocket.RSocketRequesterAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass({org.springframework.messaging.rsocket.RSocketRequester.class,io.rsocket.RSocket.class,reactor.netty.http.server.HttpServer.class,io.rsocket.transport.netty.server.TcpServerTransport.class})
@AutoConfigureAfter(RSocketStrategiesAutoConfiguration.class)
public class RSocketRequesterAutoConfiguration
extends Object
Auto-configuration
for
RSocketRequester
. This auto-configuration
creates RSocketRequester.Builder
prototype beans, as the builders are stateful and should not be reused to build
requester instances with different configurations.- Since:
- 2.2.0
- Author:
- Brian Clozel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrSocketRequesterBuilder
(RSocketStrategies strategies, ObjectProvider<RSocketConnectorConfigurer> connectorConfigurers)
-
Constructor Details
-
RSocketRequesterAutoConfiguration
public RSocketRequesterAutoConfiguration()
-
-
Method Details
-
rSocketRequesterBuilder
@Bean @Scope("prototype") @ConditionalOnMissingBean public RSocketRequester.Builder rSocketRequesterBuilder(RSocketStrategies strategies, ObjectProvider<RSocketConnectorConfigurer> connectorConfigurers)
-