public static class ApacheHCUtils.HttpEntityPayload extends BasePayload<org.apache.http.HttpEntity>
content, contentMetadata, written
Modifier and Type | Method and Description |
---|---|
InputStream |
getInput()
Creates a new InputStream object of the payload.
|
boolean |
isRepeatable()
By default we are repeatable.
|
void |
release()
By default there are no resources to release.
|
void |
writeTo(OutputStream outstream)
Writes the payload content to the output stream.
|
close, equals, getContentMetadata, getRawContent, hashCode, setContentMetadata, toString
public InputStream getInput()
Payload
public boolean isRepeatable()
BasePayload
isRepeatable
in interface Payload
isRepeatable
in class BasePayload<org.apache.http.HttpEntity>
public void release()
BasePayload
release
in interface Payload
release
in class BasePayload<org.apache.http.HttpEntity>
public void writeTo(OutputStream outstream) throws IOException
BasePayload
writeTo
in interface WriteTo
writeTo
in class BasePayload<org.apache.http.HttpEntity>
IOException
Copyright © 2009-2013 jclouds. All Rights Reserved.