public class DelegatingMutableObjectInfoWithMetadata extends BaseMutableContentMetadata implements MutableObjectInfoWithMetadata
contentDisposition, contentEncoding, contentLanguage, contentLength, contentMD5, contentType, expiresHTTP_HEADERS, RFC1123_DATE_PATTERN| Constructor and Description |
|---|
DelegatingMutableObjectInfoWithMetadata(MutableObjectInfoWithMetadata delegate) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ObjectInfo o) |
Long |
getBytes() |
String |
getContainer() |
Long |
getContentLength()
Returns the total size of the payload, or the chunk that's available.
|
byte[] |
getContentMD5() |
String |
getContentType()
A standard MIME type describing the format of the contents.
|
MutableObjectInfoWithMetadata |
getDelegate() |
byte[] |
getHash() |
Date |
getLastModified() |
Map<String,String> |
getMetadata() |
String |
getName() |
String |
getObjectManifest() |
URI |
getUri() |
int |
hashCode() |
void |
setBytes(Long bytes) |
void |
setContainer(String container) |
void |
setContentLength(Long bytes) |
void |
setContentMD5(byte[] hash) |
void |
setContentType(String contentType) |
void |
setHash(byte[] hash) |
void |
setLastModified(Date lastModified) |
void |
setName(String name) |
void |
setObjectManifest(String objectManifest) |
void |
setUri(URI uri) |
fromContentMetadata, getContentDisposition, getContentEncoding, getContentLanguage, getContentMD5AsHashCode, getExpires, setContentDisposition, setContentEncoding, setContentLanguage, setContentMD5, setExpires, toBuilderbuild, contentDisposition, contentEncoding, contentLanguage, contentLength, contentMD5, contentMD5, contentType, create, equals, expires, toStringpublic DelegatingMutableObjectInfoWithMetadata(MutableObjectInfoWithMetadata delegate)
public Long getContentLength()
BaseMutableContentMetadataorg.jclouds.http.GetOptions is called with options like
tail, range, or startAt.getContentLength in interface ContentMetadatagetContentLength in class BaseMutableContentMetadata#getInput()HttpHeaders.CONTENT_LENGTH,
GetOptionspublic String getContentType()
BaseMutableContentMetadatagetContentType in interface ContentMetadatagetContentType in interface ObjectInfogetContentType in class BaseMutableContentMetadatapublic byte[] getContentMD5()
getContentMD5 in interface ContentMetadatagetContentMD5 in class BaseMutableContentMetadatapublic int hashCode()
hashCode in class ContentMetadataBuilderpublic void setContentLength(Long bytes)
BaseMutableContentMetadatasetContentLength in interface MutableContentMetadatasetContentLength in class BaseMutableContentMetadatapublic void setContentType(String contentType)
BaseMutableContentMetadatasetContentType in interface MutableContentMetadatasetContentType in interface MutableObjectInfoWithMetadatasetContentType in class BaseMutableContentMetadatapublic void setContentMD5(byte[] hash)
setContentMD5 in interface MutableContentMetadatasetContentMD5 in class BaseMutableContentMetadatapublic MutableObjectInfoWithMetadata getDelegate()
public Map<String,String> getMetadata()
getMetadata in interface MutableObjectInfoWithMetadatapublic void setBytes(Long bytes)
setBytes in interface MutableObjectInfoWithMetadatapublic void setHash(byte[] hash)
setHash in interface MutableObjectInfoWithMetadatapublic void setLastModified(Date lastModified)
setLastModified in interface MutableObjectInfoWithMetadatapublic void setName(String name)
setName in interface MutableObjectInfoWithMetadatapublic Long getBytes()
getBytes in interface ObjectInfopublic byte[] getHash()
getHash in interface ObjectInfopublic Date getLastModified()
getLastModified in interface ObjectInfopublic String getName()
getName in interface ObjectInfopublic int compareTo(ObjectInfo o)
compareTo in interface Comparable<ObjectInfo>public void setContainer(String container)
setContainer in interface MutableObjectInfoWithMetadatapublic String getContainer()
getContainer in interface ObjectInfopublic void setUri(URI uri)
setUri in interface MutableObjectInfoWithMetadatapublic URI getUri()
getUri in interface ObjectInfopublic void setObjectManifest(String objectManifest)
setObjectManifest in interface MutableObjectInfoWithMetadatapublic String getObjectManifest()
getObjectManifest in interface MutableObjectInfoWithMetadataCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.