public interface Payload extends com.google.common.io.InputSupplier<InputStream>, WriteTo, Closeable
Modifier and Type | Method and Description |
---|---|
MutableContentMetadata |
getContentMetadata() |
InputStream |
getInput()
Creates a new InputStream object of the payload.
|
Object |
getRawContent()
Payload in its original form.
|
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) |
InputStream getInput()
getInput
in interface com.google.common.io.InputSupplier<InputStream>
Object getRawContent()
boolean isRepeatable()
void release()
MutableContentMetadata getContentMetadata()
void setContentMetadata(MutableContentMetadata in)
Copyright © 2009-2013 jclouds. All Rights Reserved.