Class GraphQLWebsocketAutoConfiguration

java.lang.Object
graphql.kickstart.autoconfigure.web.servlet.GraphQLWebsocketAutoConfiguration

@AutoConfiguration @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass({org.springframework.web.servlet.DispatcherServlet.class,org.springframework.web.socket.server.standard.ServerEndpointRegistration.class}) @Conditional(OnSchemaOrSchemaProviderBean.class) @ConditionalOnProperty(value="graphql.servlet.websocket.enabled", havingValue="true", matchIfMissing=true) @AutoConfigureAfter({GraphQLJavaToolsAutoConfiguration.class,GraphQLWebAutoConfiguration.class}) @EnableConfigurationProperties({graphql.kickstart.autoconfigure.web.servlet.GraphQLSubscriptionApolloProperties.class,graphql.kickstart.autoconfigure.web.servlet.GraphQLSubscriptionWebsocketProperties.class}) public class GraphQLWebsocketAutoConfiguration extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    graphql.kickstart.servlet.GraphQLWebsocketServlet
    graphQLWebsocketServlet(graphql.kickstart.execution.subscriptions.GraphQLSubscriptionInvocationInputFactory invocationInputFactory, graphql.kickstart.execution.GraphQLInvoker graphQLInvoker, graphql.kickstart.execution.GraphQLObjectMapper graphQLObjectMapper, Collection<graphql.kickstart.execution.subscriptions.SubscriptionConnectionListener> connectionListeners)
     
    org.springframework.web.socket.server.standard.ServerEndpointExporter
     
    org.springframework.web.socket.server.standard.ServerEndpointRegistration
    serverEndpointRegistration(graphql.kickstart.servlet.GraphQLWebsocketServlet servlet)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GraphQLWebsocketAutoConfiguration

      public GraphQLWebsocketAutoConfiguration()
  • Method Details

    • graphQLWebsocketServlet

      @Bean @ConditionalOnMissingBean public graphql.kickstart.servlet.GraphQLWebsocketServlet graphQLWebsocketServlet(graphql.kickstart.execution.subscriptions.GraphQLSubscriptionInvocationInputFactory invocationInputFactory, graphql.kickstart.execution.GraphQLInvoker graphQLInvoker, graphql.kickstart.execution.GraphQLObjectMapper graphQLObjectMapper, @Autowired(required=false) Collection<graphql.kickstart.execution.subscriptions.SubscriptionConnectionListener> connectionListeners)
    • serverEndpointRegistration

      @Bean @ConditionalOnClass(jakarta.websocket.server.ServerContainer.class) public org.springframework.web.socket.server.standard.ServerEndpointRegistration serverEndpointRegistration(graphql.kickstart.servlet.GraphQLWebsocketServlet servlet)
    • serverEndpointExporter

      @Bean @ConditionalOnMissingBean @ConditionalOnClass(jakarta.websocket.server.ServerContainer.class) public org.springframework.web.socket.server.standard.ServerEndpointExporter serverEndpointExporter()