Package com.emc.object.s3.request
Class GetObjectAclRequest
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.AbstractBucketRequest
-
- com.emc.object.s3.request.S3ObjectRequest
-
- com.emc.object.s3.request.GetObjectAclRequest
-
public class GetObjectAclRequest extends S3ObjectRequest
-
-
Constructor Summary
Constructors Constructor Description GetObjectAclRequest(java.lang.String bucketName, java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
getVersionId()
void
setVersionId(java.lang.String versionId)
GetObjectAclRequest
withVersionId(java.lang.String versionId)
-
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
-
getVersionId
public java.lang.String getVersionId()
-
setVersionId
public void setVersionId(java.lang.String versionId)
-
withVersionId
public GetObjectAclRequest withVersionId(java.lang.String versionId)
-
-