Class QueryParameters

java.lang.Object
com.graphql_java_generator.server.util.QueryParameters

public class QueryParameters
extends java.lang.Object
Graphql 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

    Modifier and Type Method Description
    static QueryParameters from​(java.lang.String queryMessage)  
    java.lang.String getOperationName()  
    java.lang.String getQuery()  
    java.util.Map<java.lang.String,​java.lang.Object> getVariables()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait