org.apache.log4j

Class FilteredObjectInputStream

public class FilteredObjectInputStream extends ObjectInputStream

Extended ObjectInputStream that only allows certain classes to be deserialized. Backported from 2.8.2
Field Summary
static CollectionSYSTEM_ALLOWED_CLASSES
Constructor Summary
FilteredObjectInputStream(InputStream in, Collection allowedClasses)
Method Summary
protected ClassresolveClass(ObjectStreamClass desc)

Field Detail

SYSTEM_ALLOWED_CLASSES

public static final Collection SYSTEM_ALLOWED_CLASSES

Constructor Detail

FilteredObjectInputStream

public FilteredObjectInputStream(InputStream in, Collection allowedClasses)

Method Detail

resolveClass

protected Class resolveClass(ObjectStreamClass desc)
Copyright 2000-2005 Apache Software Foundation.