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, toString
public InputStream openStream() throws IOException
Payload
IOException
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>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.