public class RepeatableInputStreamRequestEntity
extends org.apache.http.entity.InputStreamEntity
| Constructor and Description |
|---|
RepeatableInputStreamRequestEntity(InputStream instream,
long length) |
RepeatableInputStreamRequestEntity(InputStream instream,
long length,
org.apache.http.entity.ContentType contentType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isChunked() |
boolean |
isRepeatable() |
void |
writeTo(OutputStream outstream) |
getContent, getContentLength, isStreamingpublic RepeatableInputStreamRequestEntity(InputStream instream, long length, org.apache.http.entity.ContentType contentType)
public RepeatableInputStreamRequestEntity(InputStream instream, long length)
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.InputStreamEntitypublic void writeTo(OutputStream outstream) throws IOException
writeTo in interface org.apache.http.HttpEntitywriteTo in class org.apache.http.entity.InputStreamEntityIOExceptionCopyright © 2015. All Rights Reserved.