HttpEntityFactorypublic class FastByteArrayInputStreamHttpEntityFactory extends java.lang.Object implements HttpEntityFactory
HttpEntityFactory that returns an entity whose content is buffered using a FastByteArrayInputStream.| Modifier and Type | Field | Description |
|---|---|---|
protected FastByteArrayOutputStream |
cachedContent |
| Constructor | Description |
|---|---|
FastByteArrayInputStreamHttpEntityFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.http.HttpEntity |
newEntity(org.apache.http.HttpEntity from) |
protected FastByteArrayOutputStream cachedContent
public FastByteArrayInputStreamHttpEntityFactory()
public org.apache.http.HttpEntity newEntity(org.apache.http.HttpEntity from)
throws java.io.IOException
newEntity in interface HttpEntityFactoryjava.io.IOException