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, isStreaming
public 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.HttpEntity
isChunked
in class org.apache.http.entity.AbstractHttpEntity
public boolean isRepeatable()
isRepeatable
in interface org.apache.http.HttpEntity
isRepeatable
in class org.apache.http.entity.InputStreamEntity
public void writeTo(OutputStream outstream) throws IOException
writeTo
in interface org.apache.http.HttpEntity
writeTo
in class org.apache.http.entity.InputStreamEntity
IOException
Copyright © 2016. All Rights Reserved.