Class HardenedLoggingEventInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.ObjectInputStream
-
- ch.qos.logback.core.net.HardenedObjectInputStream
-
- ch.qos.logback.classic.net.server.HardenedLoggingEventInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.DataInput
,java.io.ObjectInput
,java.io.ObjectStreamConstants
,java.lang.AutoCloseable
public class HardenedLoggingEventInputStream extends HardenedObjectInputStream
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String
ARRAY_PREFIX
-
Fields inherited from interface java.io.ObjectStreamConstants
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 Summary
Constructors Constructor Description HardenedLoggingEventInputStream(java.io.InputStream is)
HardenedLoggingEventInputStream(java.io.InputStream is, java.util.List<java.lang.String> additionalAuthorizedClasses)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>
getWhilelist()
-
Methods inherited from class ch.qos.logback.core.net.HardenedObjectInputStream
addToWhitelist, resolveClass
-
Methods inherited from class java.io.ObjectInputStream
available, close, defaultReadObject, enableResolveObject, read, read, readBoolean, readByte, readChar, readClassDescriptor, readDouble, readFields, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readObjectOverride, readShort, readStreamHeader, readUnshared, readUnsignedByte, readUnsignedShort, readUTF, registerValidation, resolveObject, resolveProxyClass, skipBytes
-
-
-
-
Field Detail
-
ARRAY_PREFIX
static final java.lang.String ARRAY_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HardenedLoggingEventInputStream
public HardenedLoggingEventInputStream(java.io.InputStream is) throws java.io.IOException
- Throws:
java.io.IOException
-
HardenedLoggingEventInputStream
public HardenedLoggingEventInputStream(java.io.InputStream is, java.util.List<java.lang.String> additionalAuthorizedClasses) throws java.io.IOException
- Throws:
java.io.IOException
-
-