|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.io.payloads.DelegatingPayload
public class DelegatingPayload
| Constructor Summary | |
|---|---|
DelegatingPayload(Payload delegate)
|
|
| Method Summary | |
|---|---|
void |
close()
|
boolean |
equals(Object obj)
|
MutableContentMetadata |
getContentMetadata()
|
Payload |
getDelegate()
|
InputStream |
getInput()
Creates a new InputStream object of the payload. |
Object |
getRawContent()
Payload in its original form. |
int |
hashCode()
|
boolean |
isRepeatable()
Tells if the payload is capable of producing its data more than once. |
void |
release()
release resources used by this entity. |
void |
setContentMetadata(MutableContentMetadata in)
|
void |
writeTo(OutputStream outstream)
Writes the payload content to the output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingPayload(Payload delegate)
| Method Detail |
|---|
public InputStream getInput()
getInput in interface com.google.common.io.InputSupplier<InputStream>getInput in interface Payloadpublic Object getRawContent()
getRawContent in interface Payloadpublic boolean isRepeatable()
isRepeatable in interface Payload
public void writeTo(OutputStream outstream)
throws IOException
writeTo in interface WriteToIOExceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic Payload getDelegate()
public void release()
Payload
release in interface Payload
public void close()
throws IOException
close in interface CloseableIOExceptionpublic MutableContentMetadata getContentMetadata()
getContentMetadata in interface Payloadpublic void setContentMetadata(MutableContentMetadata in)
setContentMetadata in interface Payload
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||