Package org.apache.http.client.fluent
Class InternalInputStreamEntity
- java.lang.Object
-
- org.apache.http.entity.AbstractHttpEntity
-
- org.apache.http.client.fluent.InternalInputStreamEntity
-
- All Implemented Interfaces:
org.apache.http.HttpEntity
class InternalInputStreamEntity extends org.apache.http.entity.AbstractHttpEntity
-
-
Constructor Summary
Constructors Constructor Description InternalInputStreamEntity(java.io.InputStream inputStream, long length, org.apache.http.entity.ContentType contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getContent()
long
getContentLength()
boolean
isRepeatable()
boolean
isStreaming()
void
writeTo(java.io.OutputStream outStream)
-
-
-
Method Detail
-
isRepeatable
public boolean isRepeatable()
-
getContentLength
public long getContentLength()
-
getContent
public java.io.InputStream getContent() throws java.io.IOException
- Throws:
java.io.IOException
-
writeTo
public void writeTo(java.io.OutputStream outStream) throws java.io.IOException
- Throws:
java.io.IOException
-
isStreaming
public boolean isStreaming()
-
-