@AutoConfiguration(after=RSocketRequesterAutoConfiguration.class) @ConditionalOnClass(value={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.Constructor and Description |
---|
RSocketGraphQlClientAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.graphql.client.RSocketGraphQlClient.Builder<?> |
rsocketGraphQlClientBuilder(RSocketRequester.Builder rsocketRequesterBuilder) |
public RSocketGraphQlClientAutoConfiguration()
@Bean @Scope(value="prototype") @ConditionalOnMissingBean public org.springframework.graphql.client.RSocketGraphQlClient.Builder<?> rsocketGraphQlClientBuilder(RSocketRequester.Builder rsocketRequesterBuilder)