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