class InternalInputStreamEntity
extends org.apache.http.entity.AbstractHttpEntity
Modifier and Type | Field and Description |
---|---|
private java.io.InputStream |
content |
private long |
length |
Constructor and Description |
---|
InternalInputStreamEntity(java.io.InputStream instream,
long length,
org.apache.http.entity.ContentType contentType) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getContent() |
long |
getContentLength() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(java.io.OutputStream outstream) |
public InternalInputStreamEntity(java.io.InputStream instream, long length, org.apache.http.entity.ContentType contentType)
public boolean isRepeatable()
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
public boolean isStreaming()