Package org.jclouds.io.payloads
Class PhantomPayload
- java.lang.Object
-
- org.jclouds.io.payloads.BasePayload<Object>
-
- org.jclouds.io.payloads.PhantomPayload
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Payload
public class PhantomPayload extends BasePayload<Object>
-
-
Field Summary
-
Fields inherited from class org.jclouds.io.payloads.BasePayload
content, contentMetadata, written
-
-
Constructor Summary
Constructors Constructor Description PhantomPayload()
PhantomPayload(ContentMetadata contentMetadata)
PhantomPayload(MutableContentMetadata contentMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
openStream()
Creates a new InputStream object of the payload.-
Methods inherited from class org.jclouds.io.payloads.BasePayload
close, equals, getContentMetadata, getInput, getRawContent, hashCode, isRepeatable, isSensitive, release, setContentMetadata, setSensitive, toString
-
-
-
-
Constructor Detail
-
PhantomPayload
public PhantomPayload()
-
PhantomPayload
public PhantomPayload(ContentMetadata contentMetadata)
-
PhantomPayload
public PhantomPayload(MutableContentMetadata contentMetadata)
-
-
Method Detail
-
openStream
public InputStream openStream()
Creates a new InputStream object of the payload.
-
-