org.apache.http.impl.io
Class SocketInputBuffer

java.lang.Object
  extended by org.apache.http.impl.io.AbstractSessionInputBuffer
      extended by org.apache.http.impl.io.SocketInputBuffer
All Implemented Interfaces:
SessionInputBuffer

public class SocketInputBuffer
extends AbstractSessionInputBuffer

Socket bound session input buffer.

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

Constructor Summary
SocketInputBuffer(java.net.Socket socket, int buffersize, HttpParams params)
           
 
Method Summary
 boolean isDataAvailable(int timeout)
           
 
Methods inherited from class org.apache.http.impl.io.AbstractSessionInputBuffer
fillBuffer, getMetrics, hasBufferedData, init, read, read, read, readLine, readLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketInputBuffer

public SocketInputBuffer(java.net.Socket socket,
                         int buffersize,
                         HttpParams params)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

isDataAvailable

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


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