Class GraphQLWebClientAutoConfiguration
java.lang.Object
graphql.kickstart.spring.webclient.boot.GraphQLWebClientAutoConfiguration
@AutoConfiguration
@AutoConfigureAfter({org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration.class,org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration.class,org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration.class})
@EnableConfigurationProperties({graphql.kickstart.spring.webclient.boot.GraphQLClientProperties.class,GraphQLClientRetryProperties.class})
@ComponentScan(basePackageClasses=graphql.kickstart.spring.webclient.boot.GraphQLWebClientImpl.class)
public class GraphQLWebClientAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongraphql.kickstart.spring.webclient.boot.GraphQLWebClientgraphQLWebClient(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, GraphQLWebClientRetryProvider retryProvider) graphQLWebClientRetryProvider(GraphQLWebClientRetryErrorFilterPredicate errorFilterPredicate) com.fasterxml.jackson.databind.ObjectMapperorg.springframework.web.reactive.function.client.WebClientwebClient(org.springframework.web.reactive.function.client.WebClient.Builder clientBuilder, org.springframework.security.oauth2.client.registration.ReactiveClientRegistrationRepository clientRegistrations)
-
Constructor Details
-
GraphQLWebClientAutoConfiguration
public GraphQLWebClientAutoConfiguration()
-
-
Method Details
-
webClient
@Bean @ConditionalOnMissingBean public org.springframework.web.reactive.function.client.WebClient webClient(org.springframework.web.reactive.function.client.WebClient.Builder clientBuilder, @Autowired(required=false) org.springframework.security.oauth2.client.registration.ReactiveClientRegistrationRepository clientRegistrations) -
objectMapper
@Bean @ConditionalOnMissingBean public com.fasterxml.jackson.databind.ObjectMapper objectMapper() -
graphQLWebClient
@Bean @ConditionalOnMissingBean public graphql.kickstart.spring.webclient.boot.GraphQLWebClient graphQLWebClient(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, GraphQLWebClientRetryProvider retryProvider) -
graphQLWebClientRetryProvider
@Bean @ConditionalOnMissingBean public GraphQLWebClientRetryProvider graphQLWebClientRetryProvider(GraphQLWebClientRetryErrorFilterPredicate errorFilterPredicate) -
graphQLWebClientRetryErrorFilterPredicate
@Bean @ConditionalOnMissingBean public GraphQLWebClientRetryErrorFilterPredicate graphQLWebClientRetryErrorFilterPredicate()
-