com.caucho.hessian.io
Class HessianDebugInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.caucho.hessian.io.HessianDebugInputStream
All Implemented Interfaces:
java.io.Closeable

public class HessianDebugInputStream
extends java.io.InputStream

Debugging input stream for Hessian requests.


Constructor Summary
HessianDebugInputStream(java.io.InputStream is, java.util.logging.Logger log, java.util.logging.Level level)
          Creates an uninitialized Hessian input stream.
HessianDebugInputStream(java.io.InputStream is, java.io.PrintWriter dbg)
          Creates an uninitialized Hessian input stream.
 
Method Summary
 void close()
          closes the stream.
 int read()
          Reads a character.
 void startTop2()
           
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, reset, skip
 
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.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.

Method Detail

startTop2

public void startTop2()

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.io.Closeable
Overrides:
close in class java.io.InputStream
Throws:
java.io.IOException


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