org.apache.http.io
Interface SessionInputBuffer

All Known Implementing Classes:
AbstractSessionInputBuffer, SocketInputBuffer

public interface SessionInputBuffer

Session input buffer for blocking connections.

Since:
4.0
Version:
$Revision: 560528 $
Author:
Oleg Kalnichevski

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

Method Detail

read

int read(byte[] b,
         int off,
         int len)
         throws java.io.IOException
Throws:
java.io.IOException

read

int read(byte[] b)
         throws java.io.IOException
Throws:
java.io.IOException

read

int read()
         throws java.io.IOException
Throws:
java.io.IOException

readLine

int readLine(CharArrayBuffer buffer)
             throws java.io.IOException
Throws:
java.io.IOException

readLine

java.lang.String readLine()
                          throws java.io.IOException
Throws:
java.io.IOException

isDataAvailable

boolean isDataAvailable(int timeout)
                        throws java.io.IOException
Throws:
java.io.IOException

getMetrics

HttpTransportMetrics getMetrics()


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.