Class 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 Detail

      • QueryParameters

        public QueryParameters()
    • 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)