php.java.servlet.fastcgi
Class FastCGIInputStream

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

 class FastCGIInputStream
extends DefaultInputStream


Field Summary
 
Fields inherited from class php.java.servlet.fastcgi.DefaultInputStream
connection
 
Constructor Summary
FastCGIInputStream(FastCGIServlet servlet)
           
 
Method Summary
 java.lang.String checkError()
           
 int doRead(byte[] buf)
           
 java.lang.StringBuffer getError()
           
 int read(byte[] buf)
          
 
Methods inherited from class php.java.servlet.fastcgi.DefaultInputStream
close, read, read, setConnection
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastCGIInputStream

FastCGIInputStream(FastCGIServlet servlet)
Parameters:
servlet -
Method Detail

getError

public java.lang.StringBuffer getError()

checkError

public java.lang.String checkError()

read

public int read(byte[] buf)
         throws ConnectionException
Description copied from class: DefaultInputStream

Overrides:
read in class DefaultInputStream
Throws:
ConnectionException

doRead

public int doRead(byte[] buf)
           throws java.io.IOException
Throws:
java.io.IOException