Class GraphQLServletProperties

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

@ConfigurationProperties(prefix="graphql.servlet") public class GraphQLServletProperties extends Object
  • Field Details

    • DEFAULT_SUBSCRIPTION_TIMEOUT

      public static final Duration DEFAULT_SUBSCRIPTION_TIMEOUT
  • Constructor Details

    • GraphQLServletProperties

      public GraphQLServletProperties()
  • Method Details

    • getServletMapping

      public String getServletMapping()
      Returns:
      the servlet mapping, coercing into an appropriate wildcard for servlets (ending in /*)
    • getCorsMapping

      public String getCorsMapping()
      Returns:
      the servlet mapping, coercing into an appropriate wildcard for CORS, which uses ant matchers (ending in /**)