Package org.jclouds.io
Class ContentMetadataBuilder
java.lang.Object
org.jclouds.io.ContentMetadataBuilder
- Direct Known Subclasses:
BaseMutableContentMetadata
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
cacheControl
(String cacheControl) contentDisposition
(String contentDisposition) contentEncoding
(String contentEncoding) contentLanguage
(String contentLanguage) contentLength
(Long contentLength) contentMD5
(byte[] contentMD5) Deprecated.contentMD5
(com.google.common.hash.HashCode contentMD5) contentType
(String contentType) static ContentMetadataBuilder
create()
boolean
static ContentMetadataBuilder
int
hashCode()
toString()
-
Field Details
-
cacheControl
-
contentType
-
contentLength
-
contentMD5
protected com.google.common.hash.HashCode contentMD5 -
contentDisposition
-
contentLanguage
-
contentEncoding
-
expires
-
-
Constructor Details
-
ContentMetadataBuilder
public ContentMetadataBuilder()
-
-
Method Details
-
create
-
cacheControl
-
contentLength
-
contentMD5
Deprecated.usecontentMD5(HashCode)
instead. -
contentMD5
-
contentType
-
contentDisposition
-
contentLanguage
-
contentEncoding
-
expires
-
build
-
fromContentMetadata
-
hashCode
public int hashCode() -
equals
-
toString
-
contentMD5(HashCode)
instead.