public class RepeatableInputStreamEntity
extends org.apache.http.entity.BasicHttpEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
RepeatableInputStreamEntity.NoAutoClosedInputStreamEntity
The default entity org.apache.http.entity.InputStreamEntity will close
input stream after wirteTo was called.
|
| Constructor and Description |
|---|
RepeatableInputStreamEntity(ServiceClient.Request request) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isChunked() |
boolean |
isRepeatable() |
void |
writeTo(OutputStream output) |
getContent, getContentLength, isStreaming, setContent, setContentLengthpublic RepeatableInputStreamEntity(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.