org.apache.http.io
Interface SessionInputBuffer
- All Known Implementing Classes:
- AbstractSessionInputBuffer, LoggingSessionInputBuffer, SocketInputBuffer
public interface SessionInputBuffer
Session input buffer for blocking connections.
- Since:
- 4.0
read
int read(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
read
int read(byte[] b)
throws IOException
- Throws:
IOException
read
int read()
throws IOException
- Throws:
IOException
readLine
int readLine(CharArrayBuffer buffer)
throws IOException
- Throws:
IOException
readLine
String readLine()
throws IOException
- Throws:
IOException
isDataAvailable
boolean isDataAvailable(int timeout)
throws IOException
- Throws:
IOException
getMetrics
HttpTransportMetrics getMetrics()
Please submit a feedback, bug or feature