Package com.graphql_java_generator.samples.forum.client.graphql.forum.client_spring_autoconfiguration
Class GraphQLPluginAutoConfiguration
java.lang.Object
com.graphql_java_generator.samples.forum.client.graphql.forum.client_spring_autoconfiguration.GraphQLPluginAutoConfiguration
This Spring
AutoConfiguration
class defines the default Spring Beans for this GraphQL schema.- Author:
- etienne-sf
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GraphQLPluginAutoConfiguration
public GraphQLPluginAutoConfiguration()
-
-
Method Details
-
webClient
@Bean @ConditionalOnMissingBean(name="webClient") public org.springframework.web.reactive.function.client.WebClient webClient(String graphqlEndpoint) The Spring reactiveWebClient
that will execute the HTTP requests for GraphQL queries and mutations.
This bean is only created if no such bean already exists
-