public class AtmosObjectImpl extends PayloadEnclosingImpl implements AtmosObject, Comparable<AtmosObject>
AtmosObject
.Modifier and Type | Class and Description |
---|---|
static class |
AtmosObjectImpl.AtmosObjectFactory |
AtmosObject.Factory
payload
Constructor and Description |
---|
AtmosObjectImpl(MutableContentMetadata contentMetadata) |
AtmosObjectImpl(MutableContentMetadata contentMetadata,
SystemMetadata systemMetadata,
UserMetadata userMetadata) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AtmosObject o) |
boolean |
equals(Object obj) |
com.google.common.collect.Multimap<String,String> |
getAllHeaders() |
MutableContentMetadata |
getContentMetadata() |
SystemMetadata |
getSystemMetadata() |
UserMetadata |
getUserMetadata() |
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPayload, setPayload, setPayload, setPayload, setPayload
public AtmosObjectImpl(MutableContentMetadata contentMetadata, SystemMetadata systemMetadata, UserMetadata userMetadata)
@Inject public AtmosObjectImpl(MutableContentMetadata contentMetadata)
public SystemMetadata getSystemMetadata()
getSystemMetadata
in interface AtmosObject
public UserMetadata getUserMetadata()
getUserMetadata
in interface AtmosObject
public MutableContentMetadata getContentMetadata()
getContentMetadata
in interface AtmosObject
public com.google.common.collect.Multimap<String,String> getAllHeaders()
getAllHeaders
in interface AtmosObject
public void setAllHeaders(com.google.common.collect.Multimap<String,String> allHeaders)
setAllHeaders
in interface AtmosObject
public int compareTo(AtmosObject o)
compareTo
in interface Comparable<AtmosObject>
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, or InputStream for
uploads.Copyright © 2009-2012 jclouds. All Rights Reserved.