Home » HttpComponents-Core-4.0.1 » org.apache.http.entity » [javadoc | source]
public class: BufferedHttpEntity [javadoc | source]

All Implemented Interfaces:

A wrapping entity that buffers it content if necessary. The buffered entity is always repeatable. If the wrapped entity is repeatable itself, calls are passed through. If the wrapped entity is not repeatable, the content is read into a buffer once and provided from there as often as required.
Fields inherited from org.apache.http.entity.HttpEntityWrapper:
 public BufferedHttpEntity(HttpEntity entity) throws IOException 
Method from org.apache.http.entity.BufferedHttpEntity Summary:
getContent,   getContentLength,   isChunked,   isRepeatable,   isStreaming,   writeTo
Methods from org.apache.http.entity.HttpEntityWrapper:
consumeContent,   getContent,   getContentEncoding,   getContentLength,   getContentType,   isChunked,   isRepeatable,   isStreaming,   writeTo
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.http.entity.BufferedHttpEntity Detail:
 public InputStream getContent() throws IOException 
 public long getContentLength() 
 public boolean isChunked() 
    Tells that this entity does not have to be chunked.
 public boolean isRepeatable() 
    Tells that this entity is repeatable.
 public boolean isStreaming() 
 public  void writeTo(OutputStream outstream) throws IOException