public class Ds3InputStreamEntity
extends org.apache.http.entity.InputStreamEntity
Constructor and Description |
---|
Ds3InputStreamEntity(java.io.InputStream inStream,
long length,
org.apache.http.entity.ContentType contentType) |
Modifier and Type | Method and Description |
---|---|
long |
getBufferSize() |
void |
setBufferSize(int bufferSize) |
void |
writeTo(java.io.OutputStream outStream) |
getContent, getContentLength, isRepeatable, isStreaming
public Ds3InputStreamEntity(java.io.InputStream inStream, long length, org.apache.http.entity.ContentType contentType)
public void setBufferSize(int bufferSize)
public long getBufferSize()
public void writeTo(java.io.OutputStream outStream) throws java.io.IOException
writeTo
in interface org.apache.http.HttpEntity
writeTo
in class org.apache.http.entity.InputStreamEntity
java.io.IOException