java.lang.Object
org.apache.jena.fuseki.system.DataUploader
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UploadDetails
incomingData
(HttpAction action, org.apache.jena.riot.system.StreamRDF dest) Parse the body contents to theStreamRDF
.
-
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 theStreamRDF
.This function is used by
GSP_RW
andUploadRDF
.This function assumes it is inside a transaction.
Supports Content-Type, with data in the body, as well as
multipart/mixed
(RFC 2046) andmultipart/form-data
(RFC 1867) with a file part.- Throws:
org.apache.jena.riot.RiotParseException
-