org.jclouds.azureblob.domain.internal
Class AzureBlobImpl
java.lang.Object
org.jclouds.http.internal.PayloadEnclosingImpl
org.jclouds.azureblob.domain.internal.AzureBlobImpl
- All Implemented Interfaces:
- Comparable<AzureBlob>, AzureBlob, PayloadEnclosing
public class AzureBlobImpl
- extends PayloadEnclosingImpl
- implements AzureBlob, Comparable<AzureBlob>
Default Implementation of AzureBlob
.
- Author:
- Adrian Cole
AzureBlobImpl
@Inject
public AzureBlobImpl(MutableBlobProperties properties)
getProperties
public MutableBlobProperties getProperties()
-
- Specified by:
getProperties
in interface AzureBlob
- Returns:
- System and User metadata relevant to this object.
getAllHeaders
public com.google.common.collect.Multimap<String,String> getAllHeaders()
-
- Specified by:
getAllHeaders
in interface AzureBlob
setAllHeaders
public void setAllHeaders(com.google.common.collect.Multimap<String,String> allHeaders)
-
- Specified by:
setAllHeaders
in interface AzureBlob
compareTo
public int compareTo(AzureBlob o)
-
- Specified by:
compareTo
in interface Comparable<AzureBlob>
hashCode
public int hashCode()
- Overrides:
hashCode
in class PayloadEnclosingImpl
equals
public boolean equals(Object obj)
- Overrides:
equals
in class PayloadEnclosingImpl
toString
public String toString()
- Overrides:
toString
in class Object
setPayload
public void setPayload(Payload data)
- Description copied from class:
PayloadEnclosingImpl
- Sets payload for the request or the content from the response. If size isn't set, this will
attempt to discover it.
- Specified by:
setPayload
in interface PayloadEnclosing
- Overrides:
setPayload
in class PayloadEnclosingImpl
- Parameters:
data
- typically InputStream for downloads, or File, byte [], String, or InputStream for
uploads.
Copyright © 2009-2012 jclouds. All Rights Reserved.