Class HessianDebugOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    public class HessianDebugOutputStream
    extends java.io.OutputStream
    Debugging output stream for Hessian requests.
    • Constructor Summary

      Constructors 
      Constructor Description
      HessianDebugOutputStream​(java.io.OutputStream os, java.io.PrintWriter dbg)
      Creates an uninitialized Hessian input stream.
      HessianDebugOutputStream​(java.io.OutputStream os, java.util.logging.Logger log, java.util.logging.Level level)
      Creates an uninitialized Hessian input stream.
      HessianDebugOutputStream​(java.util.logging.Logger log, java.util.logging.Level level)
      Creates an uninitialized Hessian input stream.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      closes the stream.
      void flush()  
      void initPacket​(java.io.OutputStream os)  
      void startStreaming()  
      void startTop2()  
      void write​(int ch)
      Writes a character.
      • Methods inherited from class java.io.OutputStream

        nullOutputStream, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HessianDebugOutputStream

        public HessianDebugOutputStream​(java.io.OutputStream os,
                                        java.io.PrintWriter dbg)
        Creates an uninitialized Hessian input stream.
      • HessianDebugOutputStream

        public HessianDebugOutputStream​(java.io.OutputStream os,
                                        java.util.logging.Logger log,
                                        java.util.logging.Level level)
        Creates an uninitialized Hessian input stream.
      • HessianDebugOutputStream

        public HessianDebugOutputStream​(java.util.logging.Logger log,
                                        java.util.logging.Level level)
        Creates an uninitialized Hessian input stream.
    • Method Detail

      • initPacket

        public void initPacket​(java.io.OutputStream os)
      • startTop2

        public void startTop2()
      • startStreaming

        public void startStreaming()
      • write

        public void write​(int ch)
                   throws java.io.IOException
        Writes a character.
        Specified by:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface java.io.Flushable
        Overrides:
        flush in class java.io.OutputStream
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        closes the stream.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.OutputStream
        Throws:
        java.io.IOException