Package 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
- Version:
- $Revision: 560528 $
- Author:
- Oleg Kalnichevski
-
Method Summary
Modifier and Type Method Description HttpTransportMetricsgetMetrics()booleanisDataAvailable(int timeout)intread()intread(byte[] b)intread(byte[] b, int off, int len)StringreadLine()intreadLine(CharArrayBuffer buffer)
-
Method Details
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
readLine
- Throws:
IOException
-
readLine
- Throws:
IOException
-
isDataAvailable
- Throws:
IOException
-
getMetrics
HttpTransportMetrics getMetrics()
-