Class DebugObjectOutputStream

java.lang.Object
java.io.OutputStream
java.io.ObjectOutputStream
com.sun.faces.util.DebugObjectOutputStream
All Implemented Interfaces:
Closeable, DataOutput, Flushable, ObjectOutput, ObjectStreamConstants, AutoCloseable

public class DebugObjectOutputStream extends ObjectOutputStream
  • Constructor Details

  • Method Details

    • replaceObject

      protected Object replaceObject(Object o)
      Abuse replaceObject() as a hook to maintain our stack.
      Overrides:
      replaceObject in class ObjectOutputStream
    • getStack

      public List<Object> getStack()
      Returns the path to the last object serialized. If an exception occurred, this should be the path to the non-serializable object.