| Modifier and Type | Class and Description |
|---|---|
class |
HistoricMementoBuilder
Builds a POST request for creating a memento (LDPRm) with the state given in the request body
and the datetime given in the Memento-Datetime request header.
|
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.addInteractionModel(String interactionModelUri)
Add an interaction model to the request
|
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)
Deprecated.
|
protected BodyRequestBuilder |
BodyRequestBuilder.digest(String digest,
String alg)
Provide a checksum for the body of this request
|
protected BodyRequestBuilder |
BodyRequestBuilder.digestMd5(String digest)
Provide a MD5 checksum for the body of this request
|
protected BodyRequestBuilder |
BodyRequestBuilder.digestSha1(String digest)
Provide a SHA-1 checksum for the body of this request.
|
protected BodyRequestBuilder |
BodyRequestBuilder.digestSha256(String digest)
Provide a SHA-256 checksum for the body of this request
|
protected BodyRequestBuilder |
BodyRequestBuilder.externalContent(URI contentURI,
String contentType,
String handling)
Add the given URI to the request as the location a Non-RDF Source binary should use for external content.
|
protected BodyRequestBuilder |
BodyRequestBuilder.ifMatch(String etag)
Provide an etag for the if-match header for this request
|
protected BodyRequestBuilder |
BodyRequestBuilder.ifStateToken(String token)
Provide a value for the if-state-token header for this request.
|
BodyRequestBuilder |
BodyRequestBuilder.ifUnmodifiedSince(String modified)
Provide a if-unmodified-since header for this request
|
protected BodyRequestBuilder |
BodyRequestBuilder.linkAcl(String aclUri)
Provide the URI to an ACL for this request
|
Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.