public static class ApacheHCUtils.HttpEntityPayload extends BasePayload<org.apache.http.HttpEntity>
content, contentMetadata, written| Modifier and Type | Method and Description |
|---|---|
boolean |
isRepeatable()
By default we are repeatable.
|
InputStream |
openStream()
Creates a new InputStream object of the payload.
|
void |
release()
By default there are no resources to release.
|
close, equals, getContentMetadata, getInput, getRawContent, hashCode, isSensitive, setContentMetadata, setSensitive, toStringpublic InputStream openStream() throws IOException
PayloadIOExceptionpublic boolean isRepeatable()
BasePayloadisRepeatable in interface PayloadisRepeatable in class BasePayload<org.apache.http.HttpEntity>public void release()
BasePayloadrelease in interface Payloadrelease in class BasePayload<org.apache.http.HttpEntity>Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.