php.java.servlet.fastcgi
Class FastCGIOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by php.java.servlet.fastcgi.DefaultOutputStream
          extended by php.java.servlet.fastcgi.FastCGIOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

 class FastCGIOutputStream
extends DefaultOutputStream


Constructor Summary
FastCGIOutputStream()
           
 
Method Summary
 void write(byte[] buf, int buflength)
           
 void write(int b)
          
 void write(int type, byte[] buf, int buflength)
           
 void writeBegin()
           
 void writeLength(java.io.ByteArrayOutputStream out, int keyLen)
           
 void writeParams(java.util.Map props)
           
 
Methods inherited from class php.java.servlet.fastcgi.DefaultOutputStream
close, flush, setConnection, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastCGIOutputStream

FastCGIOutputStream()
Method Detail

write

public void write(byte[] buf,
                  int buflength)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(int type,
                  byte[] buf,
                  int buflength)
           throws java.io.IOException
Throws:
java.io.IOException

writeBegin

public void writeBegin()
                throws java.io.IOException
Throws:
java.io.IOException

writeLength

public void writeLength(java.io.ByteArrayOutputStream out,
                        int keyLen)
                 throws java.io.IOException
Throws:
java.io.IOException

writeParams

public void writeParams(java.util.Map props)
                 throws java.io.IOException
Throws:
java.io.IOException

write

public void write(int b)
Description copied from class: DefaultOutputStream

Overrides:
write in class DefaultOutputStream