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(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.
 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.
Method Detail

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


Copyright © 2008-2012 EMI - European Middleware Initiative. All Rights Reserved.