public class AtmosObjectImpl extends PayloadEnclosingImpl implements AtmosObject, Comparable<AtmosObject>
AtmosObject.| Modifier and Type | Class and Description |
|---|---|
static class |
AtmosObjectImpl.AtmosObjectFactory |
AtmosObject.Factorypayload| 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, setPayloadclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPayload, setPayload, setPayload, setPayload, setPayload, setPayloadpublic AtmosObjectImpl(MutableContentMetadata contentMetadata, SystemMetadata systemMetadata, UserMetadata userMetadata)
@Inject public AtmosObjectImpl(MutableContentMetadata contentMetadata)
public SystemMetadata getSystemMetadata()
getSystemMetadata in interface AtmosObjectpublic UserMetadata getUserMetadata()
getUserMetadata in interface AtmosObjectpublic MutableContentMetadata getContentMetadata()
getContentMetadata in interface AtmosObjectpublic com.google.common.collect.Multimap<String,String> getAllHeaders()
getAllHeaders in interface AtmosObjectpublic void setAllHeaders(com.google.common.collect.Multimap<String,String> allHeaders)
setAllHeaders in interface AtmosObjectpublic int compareTo(AtmosObject o)
compareTo in interface Comparable<AtmosObject>public int hashCode()
hashCode in class PayloadEnclosingImplpublic boolean equals(Object obj)
equals in class PayloadEnclosingImplpublic void setPayload(Payload data)
PayloadEnclosingImplsetPayload in interface PayloadEnclosingsetPayload in class PayloadEnclosingImpldata - typically InputStream for downloads, or File, byte[], String, InputStream,
of ByteSource for uploads.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.