public interface ContentMetadata
| Modifier and Type | Field and Description | 
|---|---|
static Set<String> | 
HTTP_HEADERS  | 
static String | 
RFC1123_DATE_PATTERN  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getContentDisposition()
Specifies presentational information for the object. 
 | 
String | 
getContentEncoding()
Specifies what content encodings have been applied to the object and thus what decoding
 mechanisms must be applied in order to obtain the media-type referenced by the Content-Type
 header field. 
 | 
String | 
getContentLanguage()
Get Content Language of the payload
 
 Not all providers may support it 
 | 
Long | 
getContentLength()
Returns the total size of the payload, or the chunk that's available. 
 | 
byte[] | 
getContentMD5()
Deprecated. 
 
use  
getContentMD5AsHashCode() instead. | 
com.google.common.hash.HashCode | 
getContentMD5AsHashCode()  | 
String | 
getContentType()
A standard MIME type describing the format of the contents. 
 | 
Date | 
getExpires()
Gives the date/time after which the response is considered stale. 
 | 
ContentMetadataBuilder | 
toBuilder()  | 
static final String RFC1123_DATE_PATTERN
@Nullable Long getContentLength()
org.jclouds.http.GetOptions is called with options like
 tail, range, or startAt.#getInput()HttpHeaders.CONTENT_LENGTH, 
GetOptions@Nullable String getContentDisposition()
@Nullable String getContentEncoding()
@Nullable String getContentType()
@Deprecated @Nullable byte[] getContentMD5()
getContentMD5AsHashCode() instead.@Nullable com.google.common.hash.HashCode getContentMD5AsHashCode()
@Nullable String getContentLanguage()
@Nullable Date getExpires()
IllegalStateException - If the Expires header is non-null, and not a valid RFC 1123 dateContentMetadataBuilder toBuilder()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.