PlayObjectStoreClientEither
Client which returns responses within Future[Either[PlayObjectStoreException, *]].
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
Value members
Inherited methods
Delete object
Delete object
Value parameters
- owner
-
Owner service of this object
- path
-
Path of the object in object-store under owner
Attributes
- Returns
-
Unit wrapped in the effect F
- Inherited from:
- ObjectStoreClient
Get object
Get object
Type parameters
Value parameters
- owner
-
Owner service of this object
- path
-
Path of the object in object-store under owner
Attributes
- Returns
-
optional Object
[CONTENT]wrapped in the effect F - Inherited from:
- ObjectStoreClient
List objects
List objects
Value parameters
- owner
-
Owner service
- path
-
Path of the object in object-store under owner
Attributes
- Returns
-
ObjectSummary wrapped in the effect F
- Inherited from:
- ObjectStoreClient
Put object
Put object
Type parameters
Value parameters
- content
-
Content to upload
- contentMd5
-
Optional MD5 hash of content
- contentType
-
Optional Content-Type
- owner
-
Owner service of this object
- path
-
Path of the object in object-store under owner
- retentionPeriod
-
Retention period of the object in object-store
Attributes
- Returns
-
ObjectSummaryWithMd5 wrapped in the effect F
- Note
-
Storing an object on an existing path will overwrite the previously stored object on that path.
- Inherited from:
- ObjectStoreClient
Upload object from a url
Upload object from a url
Value parameters
- contentMd5
-
Optional MD5 hash of content
- contentType
-
Optional Content-Type
- from
-
Path of the object in object-store under owner
- owner
-
Owner service of this object
- retentionPeriod
-
Retention period of the object in object-store
- to
-
Url of content to upload
Attributes
- Returns
-
ObjectSummaryWithMd5 wrapped in the effect F
- Note
-
Storing an object on an existing path will overwrite the previously stored object on that path.
- Inherited from:
- ObjectStoreClient
Zip objects in a directory
Zip objects in a directory
Value parameters
- from
-
Path of the directory to be zipped
- fromOwner
-
Owner service of the directory to be zipped
- retentionPeriod
-
Retention period of the object in object-store
- to
-
Path of the target zip file
- toOwner
-
Owner service of the target zip file
Attributes
- Returns
-
ObjectSummaryWithMd5 wrapped in the effect F
- Inherited from:
- ObjectStoreClient