public class AzureBlobImpl extends PayloadEnclosingImpl implements AzureBlob, Comparable<AzureBlob>
AzureBlob
.AzureBlob.Factory
payload
Constructor and Description |
---|
AzureBlobImpl(MutableBlobProperties properties) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AzureBlob o) |
boolean |
equals(Object obj) |
com.google.common.collect.Multimap<String,String> |
getAllHeaders() |
MutableBlobProperties |
getProperties() |
int |
hashCode() |
void |
setAllHeaders(com.google.common.collect.Multimap<String,String> allHeaders) |
void |
setPayload(Payload data)
Sets payload for the request or the content from the response.
|
String |
toString() |
getPayload, setPayload, setPayload, setPayload, setPayload, setPayload
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPayload, setPayload, setPayload, setPayload, setPayload, setPayload
@Inject public AzureBlobImpl(MutableBlobProperties properties)
public MutableBlobProperties getProperties()
getProperties
in interface AzureBlob
public com.google.common.collect.Multimap<String,String> getAllHeaders()
getAllHeaders
in interface AzureBlob
public void setAllHeaders(com.google.common.collect.Multimap<String,String> allHeaders)
setAllHeaders
in interface AzureBlob
public int compareTo(AzureBlob o)
compareTo
in interface Comparable<AzureBlob>
public int hashCode()
hashCode
in class PayloadEnclosingImpl
public boolean equals(Object obj)
equals
in class PayloadEnclosingImpl
public void setPayload(Payload data)
PayloadEnclosingImpl
setPayload
in interface PayloadEnclosing
setPayload
in class PayloadEnclosingImpl
data
- typically InputStream for downloads, or File, byte[], String, InputStream,
of ByteSource for uploads.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.