com.networknt.graphql.common.GraphqlConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-common Show documentation
Show all versions of graphql-common Show documentation
A shared utility module for GraphQL
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