| Modifier and Type | Class and Description |
|---|---|
class |
PatchBuilder
Builds a PUT request for interacting with the Fedora HTTP API in order to modify the triples associated with a
resource with SPARQL-Update.
|
class |
PostBuilder
Builds a post request for interacting with the Fedora HTTP API in order to create a new resource within an LDP
container.
|
class |
PutBuilder
Builds a PUT request for interacting with the Fedora HTTP API in order to create a resource with a specified path,
or replace the triples associated with a resource with the triples provided in the request body.
|
| Modifier and Type | Method and Description |
|---|---|
protected BodyRequestBuilder |
BodyRequestBuilder.body(File file,
String contentType)
Add the given file as the body for this request with the provided content type
|
protected BodyRequestBuilder |
BodyRequestBuilder.body(InputStream stream)
Add a body to this request from a stream, with application/octet-stream as its content type
|
protected BodyRequestBuilder |
BodyRequestBuilder.body(InputStream stream,
String contentType)
Add a body to this request as a stream with the given content type
|
protected BodyRequestBuilder |
BodyRequestBuilder.digest(String digest)
Provide a SHA-1 checksum for the body of this request
|
protected BodyRequestBuilder |
BodyRequestBuilder.ifMatch(String etag)
Provide an etag for the if-match header for this request
|
BodyRequestBuilder |
BodyRequestBuilder.ifUnmodifiedSince(String modified)
Provide a if-unmodified-since header for this request
|
BodyRequestBuilder |
PutBuilder.preferLenient()
Set the prefer header for this request to lenient handling, to indicate that server-managed triples will not
be included in the request body.
|
Copyright © 2013-2016 DuraSpace, Inc.. All Rights Reserved.