Package com.emc.object.s3.request
Class CopyRangeRequest
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.AbstractBucketRequest
-
- com.emc.object.s3.request.S3ObjectRequest
-
- com.emc.object.s3.request.CopyRangeRequest
-
- All Implemented Interfaces:
EntityRequest
public class CopyRangeRequest extends S3ObjectRequest implements EntityRequest
-
-
Constructor Summary
Constructors Constructor Description CopyRangeRequest(java.lang.String bucketName, java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getContentLength()
java.lang.String
getContentMd5()
java.lang.String
getContentType()
java.lang.String
getCopyMode()
CopyRange
getCopyRange()
java.lang.Object
getEntity()
java.util.Map<java.lang.String,java.util.List<java.lang.Object>>
getHeaders()
Override to return request-specific headers based on properties of the request.java.lang.String
getMultiPartCopy()
boolean
isChunkable()
void
setContentMd5(java.lang.String contentMd5)
void
setCopyMode(java.lang.String copyMode)
void
setCopyRange(CopyRange copyRange)
void
setMultiPartCopy(java.lang.String multiPartCopy)
CopyRangeRequest
withContentMd5(java.lang.String contentMd5)
CopyRangeRequest
withCopyMode(java.lang.String copyMode)
CopyRangeRequest
withCopyRange(CopyRange copyRange)
CopyRangeRequest
withMultiPartCopy(java.lang.String multiPartCopy)
-
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, getQueryParams, getQueryString, getRawQueryString, getSubresource, property, setNamespace, setPath
-
-
-
-
Method Detail
-
getHeaders
public java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getHeaders()
Description copied from class:ObjectRequest
Override to return request-specific headers based on properties of the request. Always call super() first and modify the result.- Overrides:
getHeaders
in classObjectRequest
-
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
-
getEntity
public java.lang.Object getEntity()
- Specified by:
getEntity
in interfaceEntityRequest
-
getContentMd5
public java.lang.String getContentMd5()
-
setContentMd5
public void setContentMd5(java.lang.String contentMd5)
-
getCopyMode
public java.lang.String getCopyMode()
-
setCopyMode
public void setCopyMode(java.lang.String copyMode)
-
getMultiPartCopy
public java.lang.String getMultiPartCopy()
-
setMultiPartCopy
public void setMultiPartCopy(java.lang.String multiPartCopy)
-
getCopyRange
public CopyRange getCopyRange()
-
setCopyRange
public void setCopyRange(CopyRange copyRange)
-
withContentMd5
public CopyRangeRequest withContentMd5(java.lang.String contentMd5)
-
withCopyMode
public CopyRangeRequest withCopyMode(java.lang.String copyMode)
-
withMultiPartCopy
public CopyRangeRequest withMultiPartCopy(java.lang.String multiPartCopy)
-
withCopyRange
public CopyRangeRequest withCopyRange(CopyRange copyRange)
-
-