org.jclouds.io.payloads
Class PhantomPayload

java.lang.Object
  extended by org.jclouds.io.payloads.BasePayload<Object>
      extended by org.jclouds.io.payloads.PhantomPayload
All Implemented Interfaces:
com.google.common.io.InputSupplier<InputStream>, Closeable, Payload

public class PhantomPayload
extends BasePayload<Object>


Field Summary
 
Fields inherited from class org.jclouds.io.payloads.BasePayload
content, contentMetadata, written
 
Constructor Summary
PhantomPayload()
           
PhantomPayload(ContentMetadata contentMetadata)
           
PhantomPayload(MutableContentMetadata contentMetadata)
           
 
Method Summary
 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, release, setContentMetadata, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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.



Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.