Java tutorial
package org.apache.http.io; import java.io.IOException; import org.apache.http.util.CharArrayBuffer; public interface SessionInputBuffer { HttpTransportMetrics getMetrics(); @Deprecated boolean isDataAvailable(int i) throws IOException; int read() throws IOException; int read(byte[] bArr) throws IOException; int read(byte[] bArr, int i, int i2) throws IOException; int readLine(CharArrayBuffer charArrayBuffer) throws IOException; String readLine() throws IOException; }