public class InputStreamProgressEntity
extends org.apache.http.entity.AbstractHttpEntity
Modifier and Type | Class and Description |
---|---|
static interface |
InputStreamProgressEntity.UploadProgressListener |
Constructor and Description |
---|
InputStreamProgressEntity(java.io.InputStream content,
org.apache.http.entity.ContentType contentType,
InputStreamProgressEntity.UploadProgressListener listener) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getContent() |
long |
getContentLength() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(java.io.OutputStream outStream) |
public InputStreamProgressEntity(java.io.InputStream content, org.apache.http.entity.ContentType contentType, @Nullable InputStreamProgressEntity.UploadProgressListener listener)
public boolean isRepeatable()
public boolean isStreaming()
public long getContentLength()
public java.io.InputStream getContent() throws java.io.IOException
java.io.IOException
public void writeTo(java.io.OutputStream outStream) throws java.io.IOException
java.io.IOException