Package org.jclouds.io.payloads

Examples of org.jclouds.io.payloads.BaseImmutableContentMetadata


      this.expires = expires;
      return this;
   }

   public ContentMetadata build() {
      return new BaseImmutableContentMetadata(contentType, contentLength, contentMD5, contentDisposition,
               contentLanguage, contentEncoding, expires);
   }
View Full Code Here


      this.name = checkNotNull(name, "name");
      this.container = checkNotNull(container, "container");
      this.url = checkNotNull(url, "url");
      this.lastModified = checkNotNull(lastModified, "lastModified");
      this.eTag = checkNotNull(eTag, "eTag");
      this.contentMetadata = new BaseImmutableContentMetadata(contentType, size, contentMD5, null, contentLanguage,
               contentMetadata, currentExpires);
      this.metadata.putAll(checkNotNull(metadata, "metadata"));
   }
View Full Code Here

   private final BaseImmutableContentMetadata contentMetadata;

   public CopyObjectResult(Date lastModified, String eTag) {
      this.lastModified = lastModified;
      this.eTag = eTag;
      this.contentMetadata = new BaseImmutableContentMetadata(null, null, null, null, null, null, null);
   }
View Full Code Here

      this.bucket = checkNotNull(bucket, "bucket");
      this.uri = checkNotNull(uri, "uri");
      this.lastModified = lastModified;
      this.eTag = eTag;
      this.owner = owner;
      this.contentMetadata = new BaseImmutableContentMetadata(null, contentLength, md5, null, null, null, null);
      this.storageClass = storageClass;
   }
View Full Code Here

      this.expires = expires;
      return this;
   }

   public ContentMetadata build() {
      return new BaseImmutableContentMetadata(contentType, contentLength,
               contentMD5 == null ? null : contentMD5.asBytes(), contentDisposition,
               contentLanguage, contentEncoding, expires);
   }
View Full Code Here

      this.name = checkNotNull(name, "name");
      this.container = checkNotNull(container, "container");
      this.url = checkNotNull(url, "url");
      this.lastModified = checkNotNull(lastModified, "lastModified");
      this.eTag = checkNotNull(eTag, "eTag");
      this.contentMetadata = new BaseImmutableContentMetadata(contentType, size, contentMD5, null, contentLanguage,
               contentMetadata, currentExpires);
      this.metadata.putAll(checkNotNull(metadata, "metadata"));
   }
View Full Code Here

      this.expires = expires;
      return this;
   }

   public ContentMetadata build() {
      return new BaseImmutableContentMetadata(contentType, contentLength, contentMD5, contentDisposition,
               contentLanguage, contentEncoding, expires);
   }
View Full Code Here

   private final BaseImmutableContentMetadata contentMetadata;

   public CopyObjectResult(Date lastModified, String eTag) {
      this.lastModified = lastModified;
      this.eTag = eTag;
      this.contentMetadata = new BaseImmutableContentMetadata(null, null, null, null, null, null, null);
   }
View Full Code Here

      this.bucket = checkNotNull(bucket, "bucket");
      this.uri = checkNotNull(uri, "uri");
      this.lastModified = lastModified;
      this.eTag = eTag;
      this.owner = owner;
      this.contentMetadata = new BaseImmutableContentMetadata(null, contentLength, md5, null, null, null, null);
      this.storageClass = storageClass;
   }
View Full Code Here

      this.expires = expires;
      return this;
   }

   public ContentMetadata build() {
      return new BaseImmutableContentMetadata(contentType, contentLength,
               contentMD5 == null ? null : contentMD5.asBytes(), contentDisposition,
               contentLanguage, contentEncoding, expires);
   }
View Full Code Here

TOP

Related Classes of org.jclouds.io.payloads.BaseImmutableContentMetadata

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.