Class Hessian2StreamingOutput


  • public class Hessian2StreamingOutput
    extends java.lang.Object
    Output stream for Hessian 2 streaming requests.
    • 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

      • 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