Class DelegatingMutableContentMetadata

    • Constructor Detail

      • DelegatingMutableContentMetadata

        public DelegatingMutableContentMetadata()
      • DelegatingMutableContentMetadata

        public DelegatingMutableContentMetadata​(URI uri,
                                                String name,
                                                String path,
                                                org.jclouds.io.MutableContentMetadata delegate)
    • Method Detail

      • getContentLength

        public Long getContentLength()
        Specified by:
        getContentLength in interface org.jclouds.io.ContentMetadata
      • getContentMD5

        @Deprecated
        public byte[] getContentMD5()
        Deprecated.
        Specified by:
        getContentMD5 in interface org.jclouds.io.ContentMetadata
      • getContentMD5AsHashCode

        public com.google.common.hash.HashCode getContentMD5AsHashCode()
        Specified by:
        getContentMD5AsHashCode in interface org.jclouds.io.ContentMetadata
      • getContentType

        public String getContentType()
        Specified by:
        getContentType in interface org.jclouds.io.ContentMetadata
      • setContentLength

        public void setContentLength​(Long contentLength)
        Specified by:
        setContentLength in interface org.jclouds.io.MutableContentMetadata
      • setContentMD5

        @Deprecated
        public void setContentMD5​(byte[] contentMD5)
        Deprecated.
        Specified by:
        setContentMD5 in interface org.jclouds.io.MutableContentMetadata
      • setContentMD5

        public void setContentMD5​(com.google.common.hash.HashCode contentMD5)
        Specified by:
        setContentMD5 in interface org.jclouds.io.MutableContentMetadata
      • setContentType

        public void setContentType​(String contentType)
        Specified by:
        setContentType in interface org.jclouds.io.MutableContentMetadata
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDelegate

        public org.jclouds.io.MutableContentMetadata getDelegate()
      • setCacheControl

        public void setCacheControl​(String cacheControl)
        Specified by:
        setCacheControl in interface org.jclouds.io.MutableContentMetadata
      • setContentDisposition

        public void setContentDisposition​(String contentDisposition)
        Specified by:
        setContentDisposition in interface org.jclouds.io.MutableContentMetadata
      • setContentEncoding

        public void setContentEncoding​(String contentEncoding)
        Specified by:
        setContentEncoding in interface org.jclouds.io.MutableContentMetadata
      • setContentLanguage

        public void setContentLanguage​(String contentLanguage)
        Specified by:
        setContentLanguage in interface org.jclouds.io.MutableContentMetadata
      • getCacheControl

        public String getCacheControl()
        Specified by:
        getCacheControl in interface org.jclouds.io.ContentMetadata
      • getContentDisposition

        public String getContentDisposition()
        Specified by:
        getContentDisposition in interface org.jclouds.io.ContentMetadata
      • getContentEncoding

        public String getContentEncoding()
        Specified by:
        getContentEncoding in interface org.jclouds.io.ContentMetadata
      • getContentLanguage

        public String getContentLanguage()
        Specified by:
        getContentLanguage in interface org.jclouds.io.ContentMetadata
      • setExpires

        public void setExpires​(Date expires)
        Specified by:
        setExpires in interface org.jclouds.io.MutableContentMetadata
      • getExpires

        public Date getExpires()
        Specified by:
        getExpires in interface org.jclouds.io.ContentMetadata
      • toBuilder

        public org.jclouds.io.ContentMetadataBuilder toBuilder()
        Specified by:
        toBuilder in interface org.jclouds.io.ContentMetadata