Class QueryParameters
- java.lang.Object
-
- com.graphql_java_generator.server.util.QueryParameters
-
public class QueryParameters extends java.lang.ObjectGraphql clients can send GET or POST HTTP requests. The spec does not make an explicit distinction. So you may need to handle both. The following was tested using a graphiql client tool found here : https://github.com/skevy/graphiql-app You should consider bundling graphiql in your application https://github.com/graphql/graphiql This outlines more information on how to handle parameters over http http://graphql.org/learn/serving-over-http/
-
-
Constructor Summary
Constructors Constructor Description QueryParameters()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryParametersfrom(java.lang.String queryMessage)java.lang.StringgetOperationName()java.lang.StringgetQuery()java.util.Map<java.lang.String,java.lang.Object>getVariables()
-
-
-
Method Detail
-
getQuery
public java.lang.String getQuery()
-
getOperationName
public java.lang.String getOperationName()
-
getVariables
public java.util.Map<java.lang.String,java.lang.Object> getVariables()
-
from
public static QueryParameters from(java.lang.String queryMessage)
-
-