Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.http.io
Interface HttpDataReceiver  view HttpDataReceiver download HttpDataReceiver.java


public interface HttpDataReceiver

Interface for receiving data. Unlike java.io.InputStream, this interface is tailored to the needs of the HTTP components.

Since:
4.0
Version:
$Revision: 376961 $

Method Summary
 boolean isDataAvailable(int timeout)
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 java.lang.String readLine()
           
 int readLine(CharArrayBuffer buffer)
           
 void reset(org.apache.http.params.HttpParams params)
           
 

Method Detail

reset

public void reset(org.apache.http.params.HttpParams params)

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException

read

public int read(byte[] b)
         throws java.io.IOException

read

public int read()
         throws java.io.IOException

readLine

public int readLine(CharArrayBuffer buffer)
             throws java.io.IOException

readLine

public java.lang.String readLine()
                          throws java.io.IOException

isDataAvailable

public boolean isDataAvailable(int timeout)
                        throws java.io.IOException