Home » HttpComponents-Core-4.0.1 » org.apache.http.io » [javadoc | source]
org.apache.http.io
public interface: HttpDataReceiver [javadoc | source]

All Known Implementing Classes:
    HttpDataReceiverMockup, AbstractHttpDataReceiver, SocketHttpDataReceiver

Interface for receiving data. Unlike java.io.InputStream , this interface is tailored to the needs of the HTTP components.
Method from org.apache.http.io.HttpDataReceiver Summary:
isDataAvailable,   read,   read,   read,   readLine,   readLine,   reset
Method from org.apache.http.io.HttpDataReceiver Detail:
 public boolean isDataAvailable(int timeout) throws IOException
 public int read() throws IOException
 public int read(byte[] b) throws IOException
 public int read(byte[] b,
    int off,
    int len) throws IOException
 public String readLine() throws IOException
 public int readLine(CharArrayBuffer buffer) throws IOException
 public  void reset(HttpParams params)