|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
ContentMetadata
org.jclouds.http.GetOptions
is called with options like
tail, range, or startAt.
getContentLength
in interface ContentMetadata
#getInput()
HttpHeaders.CONTENT_LENGTH
,
GetOptions
public byte[] getContentMD5()
getContentMD5
in interface ContentMetadata
public String getContentType()
ContentMetadata
getContentType
in interface ContentMetadata
public String getName()
public void setContentLength(Long contentLength)
setContentLength
in interface MutableContentMetadata
public void setContentMD5(byte[] contentMD5)
setContentMD5
in interface MutableContentMetadata
public void setContentType(String contentType)
setContentType
in interface MutableContentMetadata
public void setName(String name)
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public MutableContentMetadata getDelegate()
public void setContentDisposition(String contentDisposition)
MutableContentMetadata
setContentDisposition
in interface MutableContentMetadata
public void setContentEncoding(String contentEncoding)
MutableContentMetadata
setContentEncoding
in interface MutableContentMetadata
public void setContentLanguage(String contentLanguage)
MutableContentMetadata
setContentLanguage
in interface MutableContentMetadata
public String getContentDisposition()
ContentMetadata
getContentDisposition
in interface ContentMetadata
public String getContentEncoding()
ContentMetadata
getContentEncoding
in interface ContentMetadata
public String getContentLanguage()
ContentMetadata
getContentLanguage
in interface ContentMetadata
public void setPropertiesFromHttpHeaders(com.google.common.collect.Multimap<String,String> headers)
MutableContentMetadata
ContentMetadata.HTTP_HEADERS
setPropertiesFromHttpHeaders
in interface MutableContentMetadata
public ContentMetadataBuilder toBuilder()
toBuilder
in interface ContentMetadata
public 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 |