Package com.emc.object.s3.request
Class ListObjectsRequest
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.AbstractBucketRequest
-
- com.emc.object.s3.request.ListObjectsRequest
-
public class ListObjectsRequest extends AbstractBucketRequest
-
-
Constructor Summary
Constructors Constructor Description ListObjectsRequest(java.lang.String bucketName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDelimiter()
EncodingType
getEncodingType()
java.lang.String
getMarker()
java.lang.Integer
getMaxKeys()
java.lang.String
getPrefix()
java.util.Map<java.lang.String,java.lang.String>
getQueryParams()
Override to return the request-specific query parameters based on properties of the request.void
setDelimiter(java.lang.String delimiter)
void
setEncodingType(EncodingType encodingType)
void
setMarker(java.lang.String marker)
void
setMaxKeys(java.lang.Integer maxKeys)
void
setPrefix(java.lang.String prefix)
ListObjectsRequest
withDelimiter(java.lang.String delimiter)
ListObjectsRequest
withEncodingType(EncodingType encodingType)
ListObjectsRequest
withMarker(java.lang.String marker)
ListObjectsRequest
withMaxKeys(java.lang.Integer maxKeys)
ListObjectsRequest
withPrefix(java.lang.String prefix)
-
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
-
getPrefix
public java.lang.String getPrefix()
-
setPrefix
public void setPrefix(java.lang.String prefix)
-
getDelimiter
public java.lang.String getDelimiter()
-
setDelimiter
public void setDelimiter(java.lang.String delimiter)
-
getMaxKeys
public java.lang.Integer getMaxKeys()
-
setMaxKeys
public void setMaxKeys(java.lang.Integer maxKeys)
-
getMarker
public java.lang.String getMarker()
-
setMarker
public void setMarker(java.lang.String marker)
-
getEncodingType
public EncodingType getEncodingType()
-
setEncodingType
public void setEncodingType(EncodingType encodingType)
-
withPrefix
public ListObjectsRequest withPrefix(java.lang.String prefix)
-
withDelimiter
public ListObjectsRequest withDelimiter(java.lang.String delimiter)
-
withMaxKeys
public ListObjectsRequest withMaxKeys(java.lang.Integer maxKeys)
-
withMarker
public ListObjectsRequest withMarker(java.lang.String marker)
-
withEncodingType
public ListObjectsRequest withEncodingType(EncodingType encodingType)
-
-