public class ThrowableBearingStorageObject extends StorageObject
BaseStorageItem.getName()
and the throwable
that caused its generation via getThrowable()
.Modifier and Type | Field and Description |
---|---|
protected java.lang.Throwable |
throwable |
acl, bucketName, dataInputFile, dataInputStream, isMetadataComplete, METADATA_HEADER_HASH_MD5, METADATA_HEADER_ORIGINAL_HASH_MD5, METADATA_HEADER_SERVER_SIDE_ENCRYPTION, serverSideEncryptionAlgorithm, storageClass
METADATA_HEADER_CONTENT_DISPOSITION, METADATA_HEADER_CONTENT_ENCODING, METADATA_HEADER_CONTENT_LANGUAGE, METADATA_HEADER_CONTENT_LENGTH, METADATA_HEADER_CONTENT_MD5, METADATA_HEADER_CONTENT_TYPE, METADATA_HEADER_CREATION_DATE, METADATA_HEADER_DATE, METADATA_HEADER_ETAG, METADATA_HEADER_LAST_MODIFIED_DATE
Constructor and Description |
---|
ThrowableBearingStorageObject(java.lang.String key,
java.lang.Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
long |
getContentLength() |
java.lang.Throwable |
getThrowable() |
java.lang.String |
toString() |
addAllMetadata, addMetadata, clone, closeDataInputStream, getAcl, getBucketName, getContentDisposition, getContentEncoding, getContentLanguage, getContentType, getDataInputFile, getDataInputStream, getETag, getKey, getLastModifiedDate, getMd5HashAsBase64, getMd5HashAsHex, getModifiableMetadata, getServerSideEncryptionAlgorithm, getStorageClass, isDirectoryPlaceholder, isMetadataComplete, setAcl, setBucketName, setContentDisposition, setContentEncoding, setContentLanguage, setContentLength, setContentType, setDataInputFile, setDataInputStream, setETag, setKey, setLastModifiedDate, setMd5Hash, setMetadataComplete, setServerSideEncryptionAlgorithm, setStorageClass, verifyData, verifyData, verifyData
addMetadata, addMetadata, addMetadata, containsMetadata, getCompleteMetadataMap, getHttpMetadata, getHttpMetadataMap, getMetadata, getMetadataCaseInsensitiveFromMap, getMetadataMap, getName, getOwner, getServiceMetadata, getServiceMetadataMap, getUserMetadata, getUserMetadataMap, isMatchingMetadataName, lookupMetadataSubsetMap, removeMetadata, replaceAllMetadata, setName, setOwner
public ThrowableBearingStorageObject(java.lang.String key, java.lang.Throwable throwable)
public java.lang.Throwable getThrowable()
public long getContentLength()
getContentLength
in class StorageObject
public java.lang.String toString()
toString
in class StorageObject