Package com.networknt.graphql.common
Class GraphqlConfig
- java.lang.Object
-
- com.networknt.graphql.common.GraphqlConfig
-
public class GraphqlConfig extends Object
Main configuration class for graphql framework that defines the path for graphql endpoint and if GraphiQL is enabled or not.- Author:
- Steve Hu
-
-
Constructor Summary
Constructors Constructor Description GraphqlConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPath()StringgetSubscriptionsPath()booleanisEnableGraphiQL()voidsetEnableGraphiQL(boolean enableGraphiQL)voidsetPath(String path)voidsetSubscriptionsPath(String subscriptionsPath)
-
-
-
Method Detail
-
getPath
public String getPath()
-
setPath
public void setPath(String path)
-
isEnableGraphiQL
public boolean isEnableGraphiQL()
-
setEnableGraphiQL
public void setEnableGraphiQL(boolean enableGraphiQL)
-
getSubscriptionsPath
public String getSubscriptionsPath()
-
setSubscriptionsPath
public void setSubscriptionsPath(String subscriptionsPath)
-
-