All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.networknt.graphql.common.GraphqlConfig Maven / Gradle / Ivy

There is a newer version: 2.1.38
Show newest version
package com.networknt.graphql.common;

/**
 * Main configuration class for graphql framework that defines the path for
 * graphql endpoint and if GraphiQL is enabled or not.
 *
 * @author Steve Hu
 */
public class GraphqlConfig {
    private String path;
    private String subscriptionsPath;
    private boolean enableGraphiQL;

    public GraphqlConfig() {
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public boolean isEnableGraphiQL() {
        return enableGraphiQL;
    }

    public void setEnableGraphiQL(boolean enableGraphiQL) {
        this.enableGraphiQL = enableGraphiQL;
    }

    public String getSubscriptionsPath() {
        return subscriptionsPath;
    }

    public void setSubscriptionsPath(String subscriptionsPath) {
        this.subscriptionsPath = subscriptionsPath;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy