类 GraphQlWebMvcAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.graphql.servlet.GraphQlWebMvcAutoConfiguration
@AutoConfiguration(after=GraphQlAutoConfiguration.class)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass({graphql.GraphQL.class,org.springframework.graphql.server.webmvc.GraphQlHttpHandler.class})
@ConditionalOnBean(org.springframework.graphql.ExecutionGraphQlService.class)
@EnableConfigurationProperties(GraphQlCorsProperties.class)
@ImportRuntimeHints(org.springframework.boot.autoconfigure.graphql.servlet.GraphQlWebMvcAutoConfiguration.GraphiQlResourceHints.class)
public class GraphQlWebMvcAutoConfiguration
extends Object
Auto-configuration
for enabling Spring GraphQL over
Spring MVC.- 从以下版本开始:
- 2.7.0
- 作者:
- Brian Clozel
-
嵌套类概要
嵌套类修饰符和类型类说明static class
static class
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.graphql.server.webmvc.GraphQlHttpHandler
graphQlHttpHandler
(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler) graphQlRouterFunction
(org.springframework.graphql.server.webmvc.GraphQlHttpHandler httpHandler, org.springframework.graphql.server.webmvc.GraphQlSseHandler sseHandler, org.springframework.graphql.execution.GraphQlSource graphQlSource, GraphQlProperties properties) org.springframework.graphql.server.webmvc.GraphQlSseHandler
graphQlSseHandler
(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler, GraphQlProperties properties) org.springframework.graphql.server.WebGraphQlHandler
webGraphQlHandler
(org.springframework.graphql.ExecutionGraphQlService service, ObjectProvider<org.springframework.graphql.server.WebGraphQlInterceptor> interceptors)
-
构造器详细资料
-
GraphQlWebMvcAutoConfiguration
public GraphQlWebMvcAutoConfiguration()
-
-
方法详细资料
-
graphQlHttpHandler
@Bean @ConditionalOnMissingBean public org.springframework.graphql.server.webmvc.GraphQlHttpHandler graphQlHttpHandler(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler) -
graphQlSseHandler
@Bean @ConditionalOnMissingBean public org.springframework.graphql.server.webmvc.GraphQlSseHandler graphQlSseHandler(org.springframework.graphql.server.WebGraphQlHandler webGraphQlHandler, GraphQlProperties properties) -
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.webmvc.GraphQlHttpHandler httpHandler, org.springframework.graphql.server.webmvc.GraphQlSseHandler sseHandler, org.springframework.graphql.execution.GraphQlSource graphQlSource, GraphQlProperties properties)
-