Build 1.0_r1(from source)

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

Method Summary
 HttpTransportMetrics getMetrics()
           
 boolean isDataAvailable(int timeout)
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 String readLine()
           
 int readLine(CharArrayBuffer buffer)
           
 

Method Detail

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()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature