Package com.emc.object.s3.request
Class CompleteMultipartUploadRequest
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.AbstractBucketRequest
-
- com.emc.object.s3.request.S3ObjectRequest
-
- com.emc.object.s3.request.CompleteMultipartUploadRequest
-
- All Implemented Interfaces:
EntityRequest
public class CompleteMultipartUploadRequest extends S3ObjectRequest implements EntityRequest
-
-
Constructor Summary
Constructors Constructor Description CompleteMultipartUploadRequest(java.lang.String bucketName, java.lang.String key, java.lang.String uploadId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getContentLength()
java.lang.String
getContentType()
java.lang.Object
getEntity()
java.util.SortedSet<MultipartPartETag>
getParts()
java.util.Map<java.lang.String,java.lang.String>
getQueryParams()
Override to return the request-specific query parameters based on properties of the request.java.lang.String
getUploadId()
boolean
isChunkable()
void
setParts(java.util.SortedSet<MultipartPartETag> parts)
CompleteMultipartUploadRequest
withParts(java.util.SortedSet<MultipartPartETag> parts)
-
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, getHeaders, getMethod, getNamespace, getPath, getProperties, getQueryString, getRawQueryString, getSubresource, property, setNamespace, setPath
-
-
-
-
Method Detail
-
getQueryParams
public java.util.Map<java.lang.String,java.lang.String> getQueryParams()
Description copied from class:ObjectRequest
Override to return the request-specific query parameters based on properties of the request. Do NOT include the subresource in this map; it will be inserted automatically. Note this implementation uses a TreeSet, which will sort the parameters by name. This is done to make URLs consistent for testing and should not change the semantics of any request.- Overrides:
getQueryParams
in classObjectRequest
-
getEntity
public java.lang.Object getEntity()
- Specified by:
getEntity
in interfaceEntityRequest
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interfaceEntityRequest
-
getContentLength
public java.lang.Long getContentLength()
- Specified by:
getContentLength
in interfaceEntityRequest
-
isChunkable
public boolean isChunkable()
- Specified by:
isChunkable
in interfaceEntityRequest
-
getUploadId
public java.lang.String getUploadId()
-
getParts
public java.util.SortedSet<MultipartPartETag> getParts()
-
setParts
public void setParts(java.util.SortedSet<MultipartPartETag> parts)
-
withParts
public CompleteMultipartUploadRequest withParts(java.util.SortedSet<MultipartPartETag> parts)
-
-