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

All Implemented Interfaces:
    HttpEntity

AbstractHttpEntity mockup implementation.
Fields inherited from org.apache.http.entity.AbstractHttpEntity:
contentType,  contentEncoding,  chunked
Method from org.apache.http.mockup.HttpEntityMockup Summary:
getContent,   getContentLength,   isRepeatable,   isStreaming,   setStreaming,   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.mockup.HttpEntityMockup Detail:
 public InputStream getContent() throws IOException, IllegalStateException 
 public long getContentLength() 
 public boolean isRepeatable() 
 public boolean isStreaming() 
 public  void setStreaming(boolean b) 
 public  void writeTo(OutputStream outstream) throws IOException