Class DataUploader

java.lang.Object
org.apache.jena.fuseki.system.DataUploader

public class DataUploader extends Object
Functions to load data to a StreamRDF.

This is used for Graph Store Protocol PUT/POST, including the extension to dataset (quads) loads and also UploadRDF the direct upload service.

See Also:
  • Constructor Details

    • DataUploader

      public DataUploader()
  • Method Details

    • incomingData

      public static UploadDetails incomingData(HttpAction action, org.apache.jena.riot.system.StreamRDF dest)
      Parse the body contents to the StreamRDF.

      This function is used by GSP_RW and UploadRDF.

      This function assumes it is inside a transaction.

      Supports Content-Type, with data in the body, as well as multipart/mixed (RFC 2046) and multipart/form-data (RFC 1867) with a file part.

      Throws:
      org.apache.jena.riot.RiotParseException