Class GraphQLTestAutoConfiguration

java.lang.Object
com.graphql.spring.boot.test.GraphQLTestAutoConfiguration

@AutoConfiguration @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnProperty(value="graphql.servlet.enabled", havingValue="true", matchIfMissing=true) public class GraphQLTestAutoConfiguration extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.graphql.spring.boot.test.GraphQLTestSubscription
    graphQLTestSubscription(org.springframework.core.env.Environment environment, com.fasterxml.jackson.databind.ObjectMapper objectMapper, String subscriptionPath)
     
    com.graphql.spring.boot.test.GraphQLTestTemplate
    graphQLTestUtils(org.springframework.core.io.ResourceLoader resourceLoader, org.springframework.boot.test.web.client.TestRestTemplate restTemplate, String graphqlMapping, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     

    Methods inherited from class java.lang.Object

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

    • GraphQLTestAutoConfiguration

      public GraphQLTestAutoConfiguration()
  • Method Details

    • graphQLTestUtils

      @Bean @ConditionalOnMissingBean public com.graphql.spring.boot.test.GraphQLTestTemplate graphQLTestUtils(org.springframework.core.io.ResourceLoader resourceLoader, @Autowired(required=false) org.springframework.boot.test.web.client.TestRestTemplate restTemplate, @Value("${graphql.servlet.mapping:/graphql}") String graphqlMapping, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • graphQLTestSubscription

      @Bean @ConditionalOnMissingBean @ConditionalOnBean(com.fasterxml.jackson.databind.ObjectMapper.class) public com.graphql.spring.boot.test.GraphQLTestSubscription graphQLTestSubscription(org.springframework.core.env.Environment environment, com.fasterxml.jackson.databind.ObjectMapper objectMapper, @Value("${graphql.servlet.subscriptions.websocket.path:subscriptions}") String subscriptionPath)