php.java.bridge.http
Class FCGIInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by php.java.bridge.http.FCGIConnectionInputStream
          extended by php.java.bridge.http.FCGIInputStream
All Implemented Interfaces:
java.io.Closeable

public class FCGIInputStream
extends FCGIConnectionInputStream

A FastCGI input stream

Author:
jostb

Constructor Summary
FCGIInputStream(IFCGIProcessFactory processFactory)
          Create
 
Method Summary
 java.lang.String checkError()
           
 int doRead(byte[] buf)
           
 java.lang.StringBuffer getError()
           
 int read(byte[] buf)
          
 
Methods inherited from class php.java.bridge.http.FCGIConnectionInputStream
close, read, read
 
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

FCGIInputStream

public FCGIInputStream(IFCGIProcessFactory processFactory)
Create

Parameters:
processFactory -
Method Detail

getError

public java.lang.StringBuffer getError()

checkError

public java.lang.String checkError()

read

public int read(byte[] buf)
         throws FCGIConnectionException
Description copied from class: FCGIConnectionInputStream

Overrides:
read in class FCGIConnectionInputStream
Throws:
FCGIConnectionException

doRead

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