php.java.servlet.fastcgi
Class DefaultInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by php.java.servlet.fastcgi.DefaultInputStream
All Implemented Interfaces:
java.io.Closeable

public class DefaultInputStream
extends java.io.InputStream

Default InputStream used by the connection pool.

Author:
jostb

Constructor Summary
DefaultInputStream()
           
 
Method Summary
 void close()
           
 int read()
           
 int read(byte[] buf)
           
 int read(byte[] buf, int off, int buflength)
           
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInputStream

public DefaultInputStream()
Method Detail

read

public int read(byte[] buf)
         throws ConnectionException
Overrides:
read in class java.io.InputStream
Throws:
ConnectionException

read

public int read(byte[] buf,
                int off,
                int buflength)
         throws ConnectionException
Overrides:
read in class java.io.InputStream
Throws:
ConnectionException

read

public int read()
         throws ConnectionException
Specified by:
read in class java.io.InputStream
Throws:
ConnectionException

close

public void close()
           throws ConnectionException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream
Throws:
ConnectionException