Class Upload


  • public class Upload
    extends java.lang.Object
    • Constructor Detail

      • Upload

        public Upload()
    • Method Detail

      • fileUploadWorker

        public static UploadDetails fileUploadWorker​(HttpAction action,
                                                     StreamRDF dest)
        Process an HTTP upload of RDF files (triples or quads) in an HTML multipart form (Content-type "multipart/form-data"). Stream straight into the destination graph or dataset.
      • multipartUploadWorker

        public static UploadDetailsWithName multipartUploadWorker​(HttpAction action,
                                                                  java.lang.String base)
        Process an HTTP file upload of RDF using the name field for the graph name destination. This function is used by SPARQL_Upload for Operation.Upload.