Package com.emc.object.s3.request
Class ListPartsRequest
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.AbstractBucketRequest
-
- com.emc.object.s3.request.S3ObjectRequest
-
- com.emc.object.s3.request.ListPartsRequest
-
public class ListPartsRequest extends S3ObjectRequest
-
-
Constructor Summary
Constructors Constructor Description ListPartsRequest(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 EncodingType
getEncodingType()
java.lang.String
getMarker()
java.lang.Integer
getMaxParts()
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()
void
setEncodingType(EncodingType encodingType)
void
setMarker(java.lang.String marker)
void
setMaxParts(java.lang.Integer maxParts)
ListPartsRequest
withEncodingType(EncodingType encodingType)
ListPartsRequest
withMarker(java.lang.String marker)
ListPartsRequest
withMaxParts(java.lang.Integer maxParts)
-
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
-
getUploadId
public java.lang.String getUploadId()
-
getMaxParts
public java.lang.Integer getMaxParts()
-
setMaxParts
public void setMaxParts(java.lang.Integer maxParts)
-
getMarker
public java.lang.String getMarker()
-
setMarker
public void setMarker(java.lang.String marker)
-
getEncodingType
public EncodingType getEncodingType()
-
setEncodingType
public void setEncodingType(EncodingType encodingType)
-
withMaxParts
public ListPartsRequest withMaxParts(java.lang.Integer maxParts)
-
withMarker
public ListPartsRequest withMarker(java.lang.String marker)
-
withEncodingType
public ListPartsRequest withEncodingType(EncodingType encodingType)
-
-