public class StoragePutRequest extends StorageObjectRequest
Constructor and Description |
---|
StoragePutRequest(Integer tenantId,
String type,
String guid,
String digestAlgorithm,
InputStream dataStream)
Initialize the needed parameters for put requests of an object.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getDataStream()
Gets the dataStream
|
String |
getDigestAlgorithm()
Gets the digestAlgorithm
|
long |
getSize() |
void |
setSize(long size) |
String |
toString() |
getGuid
getTenantId, getType
public StoragePutRequest(Integer tenantId, String type, String guid, String digestAlgorithm, InputStream dataStream)
tenantId
- request tenantIdtype
- the typeguid
- the object guiddigestAlgorithm
- the object digestAlgorithmdataStream
- data stream of the object to put in offerpublic String getDigestAlgorithm()
public InputStream getDataStream()
public long getSize()
public void setSize(long size)
public String toString()
toString
in class StorageObjectRequest
Copyright © 2018 Vitam. All rights reserved.