org.apache.http.io
Interface HttpDataReceiver
- All Known Implementing Classes:
- AbstractHttpDataReceiver
- public interface HttpDataReceiver
Interface for receiving data.
Unlike InputStream
, this interface is tailored
to the needs of the HTTP components.
- Since:
- 4.0
- Version:
- $Revision: 496070 $
- Author:
- Oleg Kalnichevski
reset
public void reset(HttpParams params)
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
readLine
public int readLine(CharArrayBuffer buffer)
throws java.io.IOException
- Throws:
java.io.IOException
readLine
public java.lang.String readLine()
throws java.io.IOException
- Throws:
java.io.IOException
isDataAvailable
public boolean isDataAvailable(int timeout)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.