Class GraphQlWebFluxAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.graphql.reactive.GraphQlWebFluxAutoConfiguration
@AutoConfiguration(after=GraphQlAutoConfiguration.class)
@ConditionalOnWebApplication(type=REACTIVE)
@ConditionalOnClass({graphql.GraphQL.class,org.springframework.graphql.server.webflux.GraphQlHttpHandler.class})
@ConditionalOnBean(org.springframework.graphql.ExecutionGraphQlService.class)
@EnableConfigurationProperties(GraphQlCorsProperties.class)
@ImportRuntimeHints(org.springframework.boot.autoconfigure.graphql.reactive.GraphQlWebFluxAutoConfiguration.GraphiQlResourceHints.class)
public class GraphQlWebFluxAutoConfiguration
extends Object
Auto-configuration for enabling Spring GraphQL over
 WebFlux.- Since:
 - 2.7.0
 - Author:
 - Brian Clozel
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.graphql.server.webflux.GraphQlHttpHandlergraphQlHttpHandler(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler) graphQlRouterFunction(org.springframework.graphql.server.webflux.GraphQlHttpHandler httpHandler, org.springframework.graphql.execution.GraphQlSource graphQlSource, GraphQlProperties properties) org.springframework.graphql.server.WebGraphQlHandlerwebGraphQlHandler(org.springframework.graphql.ExecutionGraphQlService service, ObjectProvider<org.springframework.graphql.server.WebGraphQlInterceptor> interceptors)  
- 
Constructor Details
- 
GraphQlWebFluxAutoConfiguration
public GraphQlWebFluxAutoConfiguration() 
 - 
 - 
Method Details
- 
graphQlHttpHandler
@Bean @ConditionalOnMissingBean public org.springframework.graphql.server.webflux.GraphQlHttpHandler graphQlHttpHandler(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler)  - 
webGraphQlHandler
@Bean @ConditionalOnMissingBean public org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler(org.springframework.graphql.ExecutionGraphQlService service, ObjectProvider<org.springframework.graphql.server.WebGraphQlInterceptor> interceptors)  - 
graphQlRouterFunction
@Bean @Order(0) public RouterFunction<ServerResponse> graphQlRouterFunction(org.springframework.graphql.server.webflux.GraphQlHttpHandler httpHandler, org.springframework.graphql.execution.GraphQlSource graphQlSource, GraphQlProperties properties)  
 -