Package com.inrupt.client.jena
Class JenaBodyPublishers
java.lang.Object
com.inrupt.client.jena.JenaBodyPublishers
Request.BodyPublisher
implementations for use with Jena types.-
Method Summary
Modifier and TypeMethodDescriptionstatic Request.BodyPublisher
Serialize a Jena Dataset as an HTTP request body.static Request.BodyPublisher
Serialize a Jena Dataset as an HTTP request body.static Request.BodyPublisher
Serialize a Jena Graph as an HTTP request body.static Request.BodyPublisher
Serialize a Jena Graph as an HTTP request body.static Request.BodyPublisher
Serialize a Jena Model as an HTTP request body.static Request.BodyPublisher
Serialize a Jena Model as an HTTP request body.static Request.BodyPublisher
ofUpdateRequest
(UpdateRequest sparql) Serialize a Jena UpdateRequest (SPARQL-Update) as an HTTP request body.
-
Method Details
-
ofModel
Serialize a Jena Model as an HTTP request body.This method uses the default (TURTLE) serialization.
- Parameters:
model
- the model- Returns:
- the body publisher
-
ofModel
Serialize a Jena Model as an HTTP request body.- Parameters:
model
- the modellang
- the serialization language- Returns:
- the body publisher
-
ofGraph
Serialize a Jena Graph as an HTTP request body.This method uses the default (TURTLE) serialization.
- Parameters:
graph
- the graph- Returns:
- the body publisher
-
ofGraph
Serialize a Jena Graph as an HTTP request body.- Parameters:
graph
- the graphlang
- the serialization language- Returns:
- the body publisher
-
ofDataset
Serialize a Jena Dataset as an HTTP request body.This method uses the default (TRIG) serialization.
- Parameters:
dataset
- the dataset- Returns:
- the body publisher
-
ofDataset
Serialize a Jena Dataset as an HTTP request body.- Parameters:
dataset
- the datasetlang
- the serialization language- Returns:
- the body publisher
-
ofUpdateRequest
Serialize a Jena UpdateRequest (SPARQL-Update) as an HTTP request body.- Parameters:
sparql
- the SPARQL Update request- Returns:
- the body publisher
-