Class RSocketGraphQlClientAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.graphql.rsocket.RSocketGraphQlClientAutoConfiguration
@AutoConfiguration(after=RSocketRequesterAutoConfiguration.class)
@ConditionalOnClass({graphql.GraphQL.class,org.springframework.graphql.client.RSocketGraphQlClient.class,org.springframework.messaging.rsocket.RSocketRequester.class,io.rsocket.RSocket.class,io.rsocket.transport.netty.client.TcpClientTransport.class})
public class RSocketGraphQlClientAutoConfiguration
extends Object
Auto-configuration
for RSocketGraphQlClient
.
This auto-configuration creates
RSocketGraphQlClient.Builder
prototype beans, as the builders are stateful and should
not be reused to build client instances with different configurations.- Since:
- 2.7.0
- Author:
- Brian Clozel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.graphql.client.RSocketGraphQlClient.Builder<?>
rsocketGraphQlClientBuilder
(RSocketRequester.Builder rsocketRequesterBuilder)
-
Constructor Details
-
RSocketGraphQlClientAutoConfiguration
public RSocketGraphQlClientAutoConfiguration()
-
-
Method Details
-
rsocketGraphQlClientBuilder
@Bean @Scope("prototype") @ConditionalOnMissingBean public org.springframework.graphql.client.RSocketGraphQlClient.Builder<?> rsocketGraphQlClientBuilder(RSocketRequester.Builder rsocketRequesterBuilder)
-