Class SPARQL_Upload

  • All Implemented Interfaces:
    ActionLifecycle, ActionProcessor

    public class SPARQL_Upload
    extends ActionService
    Upload data into a graph within a dataset. This is fuseki:serviceUpload. It is better to use GSP or quads POST with the body being the content. This class works with general HTML form file upload where the name is somewhere in the form and that may be after the data. Consider this service useful for small files and use GSP or quads POST for large ones.
    • Constructor Detail

      • SPARQL_Upload

        public SPARQL_Upload()
    • Method Detail

      • execPost

        public void execPost​(HttpAction action)
      • execOptions

        public void execOptions​(HttpAction action)
      • validate

        public void validate​(HttpAction action)
        Description copied from interface: ActionLifecycle
        The validation step of a request
      • execute

        public void execute​(HttpAction action)
        Description copied from interface: ActionLifecycle
        The perform step of a request
      • upload

        public static long upload​(HttpAction action,
                                  java.lang.String base)