org.jclouds.io
Interface MutableContentMetadata

All Superinterfaces:
ContentMetadata
All Known Subinterfaces:
MutableContentMetadata
All Known Implementing Classes:
BaseMutableContentMetadata, DelegatingMutableContentMetadata, DelegatingMutableObjectInfoWithMetadata

public interface MutableContentMetadata
extends ContentMetadata

Author:
Adrian Cole

Field Summary
 
Fields inherited from interface org.jclouds.io.ContentMetadata
HTTP_HEADERS
 
Method Summary
 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[] md5)
           
 void setContentType(String contentType)
           
 void setPropertiesFromHttpHeaders(com.google.common.collect.Multimap<String,String> headers)
          sets properties related to the http headers listed in ContentMetadata.HTTP_HEADERS
 
Methods inherited from interface org.jclouds.io.ContentMetadata
getContentDisposition, getContentEncoding, getContentLanguage, getContentLength, getContentMD5, getContentType, toBuilder
 

Method Detail

setPropertiesFromHttpHeaders

void setPropertiesFromHttpHeaders(com.google.common.collect.Multimap<String,String> headers)
sets properties related to the http headers listed in ContentMetadata.HTTP_HEADERS


setContentLength

void setContentLength(@Nullable
                      Long contentLength)

setContentMD5

void setContentMD5(@Nullable
                   byte[] md5)

setContentType

void setContentType(@Nullable
                    String contentType)

setContentDisposition

void setContentDisposition(@Nullable
                           String contentDisposition)
Set Content Disposition of the payload

Not all providers may support it

Parameters:
contentDisposition -

setContentLanguage

void setContentLanguage(@Nullable
                        String contentLanguage)
Set Content Language of the payload

Not all providers may support it

Parameters:
contentLanguage -

setContentEncoding

void setContentEncoding(@Nullable
                        String contentEncoding)
Set Content Encoding of the payload

Not all providers may support it

Parameters:
contentEncoding -


Copyright © 2009-2011 jclouds. All Rights Reserved.