Class GraphResource


  • public class GraphResource
    extends Object
    REST API for GraphQL.
    Since:
    6.12.0
    • Constructor Detail

    • Method Detail

      • query

        public javax.ws.rs.core.Response query​(String requestString,
                                               String query,
                                               @Context
                                               javax.ws.rs.core.UriInfo uriInfo,
                                               @Context
                                               javax.servlet.http.HttpServletRequest request)
                                        throws Exception
        Throws:
        Exception
      • getGraphiqlApp

        public javax.ws.rs.core.Response getGraphiqlApp()
                                                 throws Exception
        Throws:
        Exception
      • getSchema

        public javax.ws.rs.core.Response getSchema()
      • getSchema

        public javax.ws.rs.core.Response getSchema​(String field)
      • getSchema

        public javax.ws.rs.core.Response getSchema​(String field1,
                                                   String field2)