@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 ObjectSE
Auto-configuration
。修飾子と型 | クラスと説明 |
---|---|
static class | GraphQlWebMvcAutoConfiguration.GraphQlEndpointCorsConfiguration |
static class | GraphQlWebMvcAutoConfiguration.WebSocketConfiguration |
コンストラクターと説明 |
---|
GraphQlWebMvcAutoConfiguration() |
修飾子と型 | メソッドと説明 |
---|---|
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) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
@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)