public class PhantomPayload extends BasePayload<Object>
content, contentMetadata, written
Constructor and Description |
---|
PhantomPayload() |
PhantomPayload(ContentMetadata contentMetadata) |
PhantomPayload(MutableContentMetadata contentMetadata) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getInput()
Creates a new InputStream object of the payload.
|
void |
writeTo(OutputStream outstream)
Writes the payload content to the output stream.
|
close, equals, getContentMetadata, getRawContent, hashCode, isRepeatable, release, setContentMetadata, toString
public PhantomPayload()
public PhantomPayload(ContentMetadata contentMetadata)
public PhantomPayload(MutableContentMetadata contentMetadata)
public InputStream getInput()
public void writeTo(OutputStream outstream) throws IOException
BasePayload
writeTo
in interface WriteTo
writeTo
in class BasePayload<Object>
IOException
Copyright © 2009-2012 jclouds. All Rights Reserved.