@AutoConfiguration(after=GraphQlAutoConfiguration.class) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value={graphql.GraphQL.class,org.springframework.graphql.server.webmvc.GraphQlHttpHandler.class}) @ConditionalOnBean(value=org.springframework.graphql.ExecutionGraphQlService.class) @EnableConfigurationProperties(value=GraphQlCorsProperties.class) public class GraphQlWebMvcAutoConfiguration extends Object
Auto-configuration for enabling Spring GraphQL over
 Spring MVC.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
GraphQlWebMvcAutoConfiguration.GraphQlEndpointCorsConfiguration  | 
static class  | 
GraphQlWebMvcAutoConfiguration.WebSocketConfiguration  | 
| Constructor and Description | 
|---|
GraphQlWebMvcAutoConfiguration()  | 
| Modifier and Type | Method and Description | 
|---|---|
org.springframework.graphql.server.webmvc.GraphQlHttpHandler | 
graphQlHttpHandler(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler)  | 
RouterFunction<ServerResponse> | 
graphQlRouterFunction(org.springframework.graphql.server.webmvc.GraphQlHttpHandler httpHandler,
                     org.springframework.graphql.execution.GraphQlSource graphQlSource,
                     GraphQlProperties properties)  | 
org.springframework.graphql.server.WebGraphQlHandler | 
webGraphQlHandler(org.springframework.graphql.ExecutionGraphQlService service,
                 ObjectProvider<org.springframework.graphql.server.WebGraphQlInterceptor> interceptorsProvider,
                 ObjectProvider<org.springframework.graphql.execution.ThreadLocalAccessor> accessorsProvider)  | 
@Bean @ConditionalOnMissingBean public org.springframework.graphql.server.webmvc.GraphQlHttpHandler graphQlHttpHandler(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler)
@Bean @ConditionalOnMissingBean public org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler(org.springframework.graphql.ExecutionGraphQlService service, ObjectProvider<org.springframework.graphql.server.WebGraphQlInterceptor> interceptorsProvider, ObjectProvider<org.springframework.graphql.execution.ThreadLocalAccessor> accessorsProvider)
@Bean @Order(value=0) public RouterFunction<ServerResponse> graphQlRouterFunction(org.springframework.graphql.server.webmvc.GraphQlHttpHandler httpHandler, org.springframework.graphql.execution.GraphQlSource graphQlSource, GraphQlProperties properties)