com.caucho.hessian.io
Class Hessian2StreamingOutput

java.lang.Object
  extended by com.caucho.hessian.io.Hessian2StreamingOutput

public class Hessian2StreamingOutput
extends java.lang.Object

Output stream for Hessian 2 streaming requests.


Constructor Summary
Hessian2StreamingOutput(Hessian2Output out)
           
Hessian2StreamingOutput(java.io.OutputStream os)
          Creates a new Hessian output stream, initialized with an underlying output stream.
 
Method Summary
 void close()
          Close the output.
 void flush()
          Flushes the output.
 Hessian2Output getHessian2Output()
           
 boolean isCloseStreamOnClose()
           
 void setCloseStreamOnClose(boolean isClose)
           
 void writeObject(java.lang.Object object)
          Writes any object to the output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hessian2StreamingOutput

public Hessian2StreamingOutput(java.io.OutputStream os)
Creates a new Hessian output stream, initialized with an underlying output stream.

Parameters:
os - the underlying output stream.

Hessian2StreamingOutput

public Hessian2StreamingOutput(Hessian2Output out)
Method Detail

getHessian2Output

public Hessian2Output getHessian2Output()

setCloseStreamOnClose

public void setCloseStreamOnClose(boolean isClose)

isCloseStreamOnClose

public boolean isCloseStreamOnClose()

writeObject

public void writeObject(java.lang.Object object)
                 throws java.io.IOException
Writes any object to the output stream.

Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Flushes the output.

Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Close the output.

Throws:
java.io.IOException