Home » HttpComponents-Core-4.0.1 » org.apache.http.entity » [javadoc | source]
org.apache.http.entity
public class: InputStreamEntity [javadoc | source]
java.lang.Object
   org.apache.http.entity.AbstractHttpEntity
      org.apache.http.entity.InputStreamEntity

All Implemented Interfaces:
    HttpEntity

A streamed, non-repeatable entity that obtains its content from an InputStream .
Fields inherited from org.apache.http.entity.AbstractHttpEntity:
contentType,  contentEncoding,  chunked
Constructor:
 public InputStreamEntity(InputStream instream,
    long length) 
Method from org.apache.http.entity.InputStreamEntity Summary:
consumeContent,   getContent,   getContentLength,   isRepeatable,   isStreaming,   writeTo
Methods from org.apache.http.entity.AbstractHttpEntity:
consumeContent,   getContentEncoding,   getContentType,   isChunked,   setChunked,   setContentEncoding,   setContentEncoding,   setContentType,   setContentType
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.http.entity.InputStreamEntity Detail:
 public  void consumeContent() throws IOException 
 public InputStream getContent() throws IOException 
 public long getContentLength() 
 public boolean isRepeatable() 
 public boolean isStreaming() 
 public  void writeTo(OutputStream outstream) throws IOException