Package com.emc.object.s3.request
Class UploadFilePartRequest
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.AbstractBucketRequest
-
- com.emc.object.s3.request.S3ObjectRequest
-
- com.emc.object.s3.request.UploadPartRequest
-
- com.emc.object.s3.request.UploadFilePartRequest
-
- All Implemented Interfaces:
EntityRequest
public class UploadFilePartRequest extends UploadPartRequest
-
-
Constructor Summary
Constructors Constructor Description UploadFilePartRequest(java.lang.String bucketName, java.lang.String key, java.lang.String uploadId, int partNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getContentLength()
java.lang.Object
getEntity()
java.io.File
getFile()
long
getLength()
long
getOffset()
void
setFile(java.io.File file)
void
setLength(long length)
void
setOffset(long offset)
UploadFilePartRequest
withFile(java.io.File file)
UploadFilePartRequest
withLength(long length)
UploadFilePartRequest
withOffset(long offset)
-
Methods inherited from class com.emc.object.s3.request.UploadPartRequest
getContentMd5, getContentType, getHeaders, getObject, getPartNumber, getQueryParams, getUploadId, isChunkable, setContentLength, setContentMd5, setObject, withContentLength, withContentMd5, withObject
-
Methods inherited from class com.emc.object.s3.request.S3ObjectRequest
getKey, setKey
-
Methods inherited from class com.emc.object.s3.request.AbstractBucketRequest
getBucketName, setBucketName
-
Methods inherited from class com.emc.object.ObjectRequest
addCustomHeader, getCustomHeaders, getMethod, getNamespace, getPath, getProperties, getQueryString, getRawQueryString, getSubresource, property, setNamespace, setPath
-
-
-
-
Method Detail
-
getEntity
public java.lang.Object getEntity()
- Specified by:
getEntity
in interfaceEntityRequest
- Overrides:
getEntity
in classUploadPartRequest
-
getContentLength
public java.lang.Long getContentLength()
- Specified by:
getContentLength
in interfaceEntityRequest
- Overrides:
getContentLength
in classUploadPartRequest
-
getFile
public java.io.File getFile()
-
setFile
public void setFile(java.io.File file)
-
getOffset
public long getOffset()
-
setOffset
public void setOffset(long offset)
-
getLength
public long getLength()
-
setLength
public void setLength(long length)
-
withFile
public UploadFilePartRequest withFile(java.io.File file)
-
withOffset
public UploadFilePartRequest withOffset(long offset)
-
withLength
public UploadFilePartRequest withLength(long length)
-
-