public class UploadInstructions extends Object
| Modifier and Type | Field and Description |
|---|---|
static Long |
MAX_SEGMENTATION_SIZE
Maximum segmentation size allowed by the ObjectStore.
|
| Constructor and Description |
|---|
UploadInstructions(byte[] fileToUpload) |
UploadInstructions(File fileToUpload) |
UploadInstructions(InputStream inputStream) |
public static Long MAX_SEGMENTATION_SIZE
public UploadInstructions(File fileToUpload)
public UploadInstructions(InputStream inputStream)
public UploadInstructions(byte[] fileToUpload)
public boolean requiresSegmentation()
public SegmentationPlan getSegmentationPlan()
public UploadInstructions setObjectManifest(ObjectManifest objectManifest)
public UploadInstructions setMd5(String md5)
public UploadInstructions setContentType(String contentType)
public UploadInstructions setContentType(ObjectContentType contentType)
public UploadInstructions setDeleteAfter(DeleteAfter deleteAfter)
public UploadInstructions setDeleteAt(DeleteAt deleteAt)
public UploadInstructions setSegmentationSize(Long segmentationSize)
public org.apache.http.HttpEntity getEntity()
public Long getSegmentationSize()
public String getMd5()
public Etag getEtag() throws IOException
IOExceptionpublic ObjectManifest getObjectManifest()
public ObjectContentType getContentType()
public DeleteAt getDeleteAt()
public DeleteAfter getDeleteAfter()
public UploadInstructions addHeader(Header header)
Copyright © 2012-2017 42 BV. All Rights Reserved.