public static class SerializedObjectContainer.DebuggingObjectOutputStream extends ObjectOutputStream
ObjectOutputStream.PutField
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
Constructor and Description |
---|
DebuggingObjectOutputStream(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getStack()
Returns the path to the last object serialized.
|
protected Object |
replaceObject(Object o)
Abuse
replaceObject() as a hook to maintain our stack. |
annotateClass, annotateProxyClass, close, defaultWriteObject, drain, enableReplaceObject, flush, putFields, reset, useProtocolVersion, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeClassDescriptor, writeDouble, writeFields, writeFloat, writeInt, writeLong, writeObject, writeObjectOverride, writeShort, writeStreamHeader, writeUnshared, writeUTF
public DebuggingObjectOutputStream(OutputStream out) throws IOException
IOException
protected Object replaceObject(Object o)
replaceObject()
as a hook to maintain our stack.replaceObject
in class ObjectOutputStream
Copyright © 2017 Hitachi Vantara. All rights reserved.