protected <T extends BlobMetadata> T validateMetadata(T md, String container, String name) { assertEquals(md.getName(), name); assertEquals(md.getContainer(), container); assert md.getUri() != null; return md; }
public MutableBlobMetadataImpl(BlobMetadata from) { super(from); this.contentMetadata = new BaseMutableContentMetadata(); HttpUtils.copy(from.getContentMetadata(), this.contentMetadata); this.publicUri = from.getPublicUri(); this.container = from.getContainer(); }
public MutableBlobMetadataImpl(BlobMetadata from) { super(from); this.contentMetadata = new BaseMutableContentMetadata(); HttpUtils.copy(from.getContentMetadata(), this.contentMetadata); this.publicUri = from.getPublicUri(); this.container = from.getContainer(); }
public MutableBlobMetadataImpl(BlobMetadata from) { super(from); this.contentMetadata = new BaseMutableContentMetadata(); HttpUtils.copy(from.getContentMetadata(), this.contentMetadata); this.publicUri = from.getPublicUri(); this.container = from.getContainer(); }
public MutableBlobMetadataImpl(BlobMetadata from) { super(from); this.contentMetadata = new BaseMutableContentMetadata(); HttpUtils.copy(from.getContentMetadata(), this.contentMetadata); this.publicUri = from.getPublicUri(); this.container = from.getContainer(); }
public MutableBlobMetadataImpl(BlobMetadata from) { super(from); this.contentMetadata = new BaseMutableContentMetadata(); HttpUtils.copy(from.getContentMetadata(), this.contentMetadata); this.publicUri = from.getPublicUri(); this.container = from.getContainer(); }
protected <T extends BlobMetadata> T validateMetadata(T md, String container, String name) { assertEquals(md.getName(), name); assertEquals(md.getContainer(), container); assertEquals(md.getSize(), md.getContentMetadata().getContentLength()); return md; }
public MutableBlobMetadataImpl(BlobMetadata from) { super(from); this.contentMetadata = new BaseMutableContentMetadata(); HttpUtils.copy(from.getContentMetadata(), this.contentMetadata); this.publicUri = from.getPublicUri(); this.container = from.getContainer(); this.tier = from.getTier() == null ? Tier.STANDARD : from.getTier(); }
public MutableBlobMetadataImpl(BlobMetadata from) { super(from); this.contentMetadata = new BaseMutableContentMetadata(); HttpUtils.copy(from.getContentMetadata(), this.contentMetadata); this.publicUri = from.getPublicUri(); this.container = from.getContainer(); this.tier = from.getTier() == null ? Tier.STANDARD : from.getTier(); }