Class GraphQLPluginAutoConfigurationForum
java.lang.Object
org.forum.client_spring_autoconfiguration.GraphQLPluginAutoConfigurationForum
This Spring
AutoConfiguration
class defines the default Spring Beans for this GraphQL schema.- Author:
- etienne-sf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.reactive.function.client.WebClient
webClientForum
(String graphqlEndpointForum) 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
-
Constructor Details
-
GraphQLPluginAutoConfigurationForum
public GraphQLPluginAutoConfigurationForum()
-
-
Method Details
-
webClientForum
@Bean @ConditionalOnMissingBean(name="webClientForum") public org.springframework.web.reactive.function.client.WebClient webClientForum(String graphqlEndpointForum) 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
-