Class Hessian2StreamingOutput

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

public class Hessian2StreamingOutput extends Object
Output stream for Hessian 2 streaming requests.
  • Constructor Details

    • Hessian2StreamingOutput

      public Hessian2StreamingOutput(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 Details

    • getHessian2Output

      public Hessian2Output getHessian2Output()
    • setCloseStreamOnClose

      public void setCloseStreamOnClose(boolean isClose)
    • isCloseStreamOnClose

      public boolean isCloseStreamOnClose()
    • writeObject

      public void writeObject(Object object) throws IOException
      Writes any object to the output stream.
      Throws:
      IOException
    • flush

      public void flush() throws IOException
      Flushes the output.
      Throws:
      IOException
    • close

      public void close() throws IOException
      Close the output.
      Throws:
      IOException