public abstract class OutputStreamHook extends ObjectOutputStream
| Modifier and Type | Class and Description |
|---|---|
protected static class |
OutputStreamHook.DefaultState |
protected static class |
OutputStreamHook.InWriteObjectState |
protected static class |
OutputStreamHook.WriteObjectState |
protected static class |
OutputStreamHook.WroteCustomDataState |
protected static class |
OutputStreamHook.WroteDefaultDataState |
ObjectOutputStream.PutField| Modifier and Type | Field and Description |
|---|---|
protected static OutputStreamHook.WriteObjectState |
IN_WRITE_OBJECT |
protected static OutputStreamHook.WriteObjectState |
NOT_IN_WRITE_OBJECT |
protected byte |
streamFormatVersion |
protected OutputStreamHook.WriteObjectState |
writeObjectState |
protected static OutputStreamHook.WriteObjectState |
WROTE_CUSTOM_DATA |
protected static OutputStreamHook.WriteObjectState |
WROTE_DEFAULT_DATA |
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 |
|---|
OutputStreamHook() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
beginOptionalCustomData() |
void |
defaultWriteObject() |
abstract void |
defaultWriteObjectDelegate() |
byte |
getStreamFormatVersion() |
ObjectOutputStream.PutField |
putFields() |
protected void |
setState(OutputStreamHook.WriteObjectState newState) |
void |
writeFields() |
annotateClass, annotateProxyClass, close, drain, enableReplaceObject, flush, replaceObject, reset, useProtocolVersion, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeClassDescriptor, writeDouble, writeFloat, writeInt, writeLong, writeObject, writeObjectOverride, writeShort, writeStreamHeader, writeUnshared, writeUTFprotected byte streamFormatVersion
protected OutputStreamHook.WriteObjectState writeObjectState
protected static final OutputStreamHook.WriteObjectState NOT_IN_WRITE_OBJECT
protected static final OutputStreamHook.WriteObjectState IN_WRITE_OBJECT
protected static final OutputStreamHook.WriteObjectState WROTE_DEFAULT_DATA
protected static final OutputStreamHook.WriteObjectState WROTE_CUSTOM_DATA
public OutputStreamHook()
throws IOException
IOExceptionpublic void defaultWriteObject()
throws IOException
defaultWriteObject in class ObjectOutputStreamIOExceptionpublic abstract void defaultWriteObjectDelegate()
public ObjectOutputStream.PutField putFields() throws IOException
putFields in class ObjectOutputStreamIOExceptionpublic byte getStreamFormatVersion()
public void writeFields()
throws IOException
writeFields in class ObjectOutputStreamIOExceptionprotected abstract void beginOptionalCustomData()
protected void setState(OutputStreamHook.WriteObjectState newState)
Copyright © 2018 JBoss by Red Hat. All rights reserved.