Class HessianDebugInputStream

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

    public class HessianDebugInputStream
    extends java.io.InputStream
    Debugging input stream for Hessian requests.
    • Constructor Summary

      Constructors 
      Constructor Description
      HessianDebugInputStream​(java.io.InputStream is, java.io.OutputStream os)
      Creates an uninitialized Hessian input stream.
      HessianDebugInputStream​(java.io.InputStream is, java.io.PrintWriter dbg)
      Creates an uninitialized Hessian input stream.
      HessianDebugInputStream​(java.io.InputStream is, java.util.logging.Logger log, java.util.logging.Level level)
      Creates an uninitialized Hessian input stream.
      HessianDebugInputStream​(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 initPacket​(java.io.InputStream is)  
      int read()
      Reads a character.
      void setDepth​(int depth)  
      void startData1()  
      void startStreaming()  
      void startTop2()  
      • Methods inherited from class java.io.InputStream

        available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
      • Methods inherited from class java.lang.Object

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

      • HessianDebugInputStream

        public HessianDebugInputStream​(java.io.InputStream is,
                                       java.io.OutputStream os)
        Creates an uninitialized Hessian input stream.
      • HessianDebugInputStream

        public HessianDebugInputStream​(java.io.InputStream is,
                                       java.io.PrintWriter dbg)
        Creates an uninitialized Hessian input stream.
      • HessianDebugInputStream

        public HessianDebugInputStream​(java.io.InputStream is,
                                       java.util.logging.Logger log,
                                       java.util.logging.Level level)
        Creates an uninitialized Hessian input stream.
      • HessianDebugInputStream

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

      • initPacket

        public void initPacket​(java.io.InputStream is)
      • startTop2

        public void startTop2()
      • startData1

        public void startData1()
      • startStreaming

        public void startStreaming()
      • setDepth

        public void setDepth​(int depth)
      • read

        public int read()
                 throws java.io.IOException
        Reads a character.
        Specified by:
        read in class java.io.InputStream
        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.InputStream
        Throws:
        java.io.IOException