|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.atmos.domain.internal.DelegatingMutableContentMetadata
public class DelegatingMutableContentMetadata
| Field Summary |
|---|
| Fields inherited from interface org.jclouds.io.ContentMetadata |
|---|
HTTP_HEADERS |
| Constructor Summary | |
|---|---|
DelegatingMutableContentMetadata()
|
|
DelegatingMutableContentMetadata(URI uri,
String name,
String path,
MutableContentMetadata delegate)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
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()
|
String |
getContentType()
A standard MIME type describing the format of the contents. |
MutableContentMetadata |
getDelegate()
|
String |
getName()
|
String |
getPath()
|
URI |
getUri()
|
int |
hashCode()
|
void |
setContentDisposition(String contentDisposition)
Set Content Disposition of the payload Not all providers may support it |
void |
setContentEncoding(String contentEncoding)
Set Content Encoding of the payload Not all providers may support it |
void |
setContentLanguage(String contentLanguage)
Set Content Language of the payload Not all providers may support it |
void |
setContentLength(Long contentLength)
|
void |
setContentMD5(byte[] contentMD5)
|
void |
setContentType(String contentType)
|
void |
setName(String name)
|
void |
setPath(String path)
|
void |
setPropertiesFromHttpHeaders(com.google.common.collect.Multimap<String,String> headers)
sets properties related to the http headers listed in ContentMetadata.HTTP_HEADERS |
void |
setUri(URI uri)
|
ContentMetadataBuilder |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingMutableContentMetadata()
public DelegatingMutableContentMetadata(URI uri,
String name,
String path,
MutableContentMetadata delegate)
| Method Detail |
|---|
public Long getContentLength()
ContentMetadataorg.jclouds.http.GetOptions is called with options like
tail, range, or startAt.
getContentLength in interface ContentMetadata#getInput()HttpHeaders.CONTENT_LENGTH,
GetOptionspublic byte[] getContentMD5()
getContentMD5 in interface ContentMetadatapublic String getContentType()
ContentMetadata
getContentType in interface ContentMetadatapublic String getName()
public void setContentLength(Long contentLength)
setContentLength in interface MutableContentMetadatapublic void setContentMD5(byte[] contentMD5)
setContentMD5 in interface MutableContentMetadatapublic void setContentType(String contentType)
setContentType in interface MutableContentMetadatapublic void setName(String name)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic MutableContentMetadata getDelegate()
public void setContentDisposition(String contentDisposition)
MutableContentMetadata
setContentDisposition in interface MutableContentMetadatapublic void setContentEncoding(String contentEncoding)
MutableContentMetadata
setContentEncoding in interface MutableContentMetadatapublic void setContentLanguage(String contentLanguage)
MutableContentMetadata
setContentLanguage in interface MutableContentMetadatapublic String getContentDisposition()
ContentMetadata
getContentDisposition in interface ContentMetadatapublic String getContentEncoding()
ContentMetadata
getContentEncoding in interface ContentMetadatapublic String getContentLanguage()
ContentMetadata
getContentLanguage in interface ContentMetadatapublic void setPropertiesFromHttpHeaders(com.google.common.collect.Multimap<String,String> headers)
MutableContentMetadataContentMetadata.HTTP_HEADERS
setPropertiesFromHttpHeaders in interface MutableContentMetadatapublic ContentMetadataBuilder toBuilder()
toBuilder in interface ContentMetadatapublic URI getUri()
public void setUri(URI uri)
public String getPath()
public void setPath(String path)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||