public class ChunkedInputStreamEntity
extends org.apache.http.entity.BasicHttpEntity
ChunkedInputStreamEntity.ReleasableInputStreamEntity and sends its content using chunked
encoding.| Modifier and Type | Class and Description |
|---|---|
static class |
ChunkedInputStreamEntity.ReleasableInputStreamEntity
A releaseable HTTP entity that can control its inner inputstream's
auto-close functionality on/off, and it will try to close its inner
inputstream by default when the inputstream reaches EOF.
|
| Constructor and Description |
|---|
ChunkedInputStreamEntity(ServiceClient.Request request) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isChunked() |
boolean |
isRepeatable() |
void |
writeTo(OutputStream output) |
getContent, getContentLength, isStreaming, setContent, setContentLengthpublic ChunkedInputStreamEntity(ServiceClient.Request request)
public boolean isChunked()
isChunked in interface org.apache.http.HttpEntityisChunked in class org.apache.http.entity.AbstractHttpEntitypublic boolean isRepeatable()
isRepeatable in interface org.apache.http.HttpEntityisRepeatable in class org.apache.http.entity.BasicHttpEntitypublic void writeTo(OutputStream output) throws IOException
writeTo in interface org.apache.http.HttpEntitywriteTo in class org.apache.http.entity.BasicHttpEntityIOExceptionCopyright © 2021. All Rights Reserved.