org.jclouds.blobstore.domain
Interface Blob

All Superinterfaces:
Comparable<Blob>, PayloadEnclosing
All Known Implementing Classes:
BlobImpl

public interface Blob
extends PayloadEnclosing, Comparable<Blob>

Value type for an HTTP Blob service. Blobs are stored in containers and consist of a name, payload, and metadata.

Author:
Adrian Cole

Nested Class Summary
static interface Blob.Factory
          Allows you to construct blobs without knowing the implementation type
 
Method Summary
 com.google.common.collect.Multimap<String,String> getAllHeaders()
           
 MutableBlobMetadata getMetadata()
           
 void setAllHeaders(com.google.common.collect.Multimap<String,String> allHeaders)
           
 
Methods inherited from interface org.jclouds.io.PayloadEnclosing
getPayload, setPayload, setPayload, setPayload, setPayload, setPayload
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getMetadata

MutableBlobMetadata getMetadata()
Returns:
System and User metadata relevant to this object.

getAllHeaders

com.google.common.collect.Multimap<String,String> getAllHeaders()
Returns:
headers returned from the services

setAllHeaders

void setAllHeaders(com.google.common.collect.Multimap<String,String> allHeaders)
See Also:
getAllHeaders()


Copyright © 2009-2011 jclouds. All Rights Reserved.