Home » HttpComponents-Core-4.0.1 » org.apache.http.mockup » [javadoc | source]
org.apache.http.mockup
public class: HttpDataReceiverMockup [javadoc | source]
java.lang.Object
   org.apache.http.impl.io.AbstractHttpDataReceiver
      org.apache.http.mockup.HttpDataReceiverMockup

All Implemented Interfaces:
    HttpDataReceiver

HttpDataInputStream mockup implementation.
Field Summary
public static  int BUFFER_SIZE     
Constructor:
 public HttpDataReceiverMockup(byte[] bytes) 
 public HttpDataReceiverMockup(InputStream instream,
    int buffersize) 
 public HttpDataReceiverMockup(byte[] bytes,
    int buffersize) 
 public HttpDataReceiverMockup(String s,
    String charset) throws UnsupportedEncodingException 
 public HttpDataReceiverMockup(String s,
    String charset,
    int buffersize) throws UnsupportedEncodingException 
Method from org.apache.http.mockup.HttpDataReceiverMockup Summary:
isDataAvailable
Methods from org.apache.http.impl.io.AbstractHttpDataReceiver:
fillBuffer,   hasBufferedData,   init,   read,   read,   read,   readLine,   readLine,   reset
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.http.mockup.HttpDataReceiverMockup Detail:
 public boolean isDataAvailable(int timeout) throws IOException