Class GraphQlQueryService

java.lang.Object
org.apache.jena.fuseki.servlets.ActionBase
org.apache.jena.fuseki.servlets.ActionService
org.apache.jena.fuseki.servlets.ActionREST
org.apache.jena.fuseki.servlets.BaseActionREST
org.aksw.jenax.fuseki.mod.graphql.GraphQlQueryService
All Implemented Interfaces:
org.apache.jena.fuseki.servlets.ActionLifecycle, org.apache.jena.fuseki.servlets.ActionProcessor

public class GraphQlQueryService extends org.apache.jena.fuseki.servlets.BaseActionREST
GraphQl query service. POST is used to answer graphql queries passed as JSON documents. GET is used to serve the HTML Web page and the config JSON.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doGet(org.apache.jena.fuseki.servlets.HttpAction action)
    The GET command can serve: the website, the notification stream from task execution and the latest task execution status.
    protected void
    doPost(org.apache.jena.fuseki.servlets.HttpAction action)
    Post request; currently always handles graphql execution
    protected void
    serveConfig(org.apache.jena.fuseki.servlets.HttpAction action)
     
    protected void
    serveWebPage(org.apache.jena.fuseki.servlets.HttpAction action)
    Get request; currently always returns HTML
    protected static void
    successJson(org.apache.jena.fuseki.servlets.HttpAction action, String jsonStr)
     
    protected static void
    successStringUtf8(org.apache.jena.fuseki.servlets.HttpAction action, String contentType, String str)
     

    Methods inherited from class org.apache.jena.fuseki.servlets.BaseActionREST

    doDelete, doHead, doOptions, doPatch, doPut, validate

    Methods inherited from class org.apache.jena.fuseki.servlets.ActionREST

    decideDataset, execAny, execute, process

    Methods inherited from class org.apache.jena.fuseki.servlets.ActionService

    executeLifecycle

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.apache.jena.fuseki.servlets.ActionProcessor

    execDelete, execGet, execHead, execOptions, execPatch, execPost, execPut, execTrace
  • Constructor Details

    • GraphQlQueryService

      public GraphQlQueryService()
  • Method Details

    • doGet

      protected void doGet(org.apache.jena.fuseki.servlets.HttpAction action)
      The GET command can serve: the website, the notification stream from task execution and the latest task execution status.
      Overrides:
      doGet in class org.apache.jena.fuseki.servlets.BaseActionREST
    • serveWebPage

      protected void serveWebPage(org.apache.jena.fuseki.servlets.HttpAction action)
      Get request; currently always returns HTML
    • serveConfig

      protected void serveConfig(org.apache.jena.fuseki.servlets.HttpAction action)
    • successJson

      protected static void successJson(org.apache.jena.fuseki.servlets.HttpAction action, String jsonStr)
    • successStringUtf8

      protected static void successStringUtf8(org.apache.jena.fuseki.servlets.HttpAction action, String contentType, String str)
    • doPost

      protected void doPost(org.apache.jena.fuseki.servlets.HttpAction action)
      Post request; currently always handles graphql execution
      Overrides:
      doPost in class org.apache.jena.fuseki.servlets.BaseActionREST