Package com.emc.object.s3.request
Class GenericBucketEntityRequest<T>
- java.lang.Object
-
- com.emc.object.ObjectRequest
-
- com.emc.object.s3.request.AbstractBucketRequest
-
- com.emc.object.s3.request.GenericBucketRequest
-
- com.emc.object.s3.request.GenericBucketEntityRequest<T>
-
- All Implemented Interfaces:
EntityRequest
public class GenericBucketEntityRequest<T> extends GenericBucketRequest implements EntityRequest
-
-
Constructor Summary
Constructors Constructor Description GenericBucketEntityRequest(Method method, java.lang.String bucketName, java.lang.String subresource, T entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getContentLength()
java.lang.String
getContentType()
T
getEntity()
boolean
isChunkable()
void
setContentType(java.lang.String contentType)
GenericBucketEntityRequest
withContentType(java.lang.String contentType)
-
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, getQueryParams, getQueryString, getRawQueryString, getSubresource, property, setNamespace, setPath
-
-
-
-
Method Detail
-
getEntity
public T 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
-
setContentType
public void setContentType(java.lang.String contentType)
-
withContentType
public GenericBucketEntityRequest withContentType(java.lang.String contentType)
-
-