クラス GraphQlWebMvcAutoConfiguration

java.lang.ObjectSE
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 ObjectSE
Spring MVC 上で Spring GraphQL を有効にするための Auto-configuration
導入:
2.7.0
作成者:
Brian Clozel
  • コンストラクターの詳細

    • 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)
    • 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)