com.caucho.hessian.io
Class HessianDebugOutputStream
java.lang.Object
java.io.OutputStream
com.caucho.hessian.io.HessianDebugOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class HessianDebugOutputStream
- extends java.io.OutputStream
Debugging output stream for Hessian requests.
Constructor Summary |
HessianDebugOutputStream(java.io.OutputStream os,
java.util.logging.Logger log,
java.util.logging.Level level)
Creates an uninitialized Hessian input stream. |
HessianDebugOutputStream(java.io.OutputStream os,
java.io.PrintWriter dbg)
Creates an uninitialized Hessian input stream. |
Methods inherited from class java.io.OutputStream |
write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_os
private java.io.OutputStream _os
_state
private HessianDebugState _state
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.
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.io.Closeable
- Overrides:
close
in class java.io.OutputStream
- Throws:
java.io.IOException
Copyright 2003-2011. All Rights Reserved.