public class SizeRestrictedHashtable<K,V> extends Hashtable<K,V>
Hashtable that sets the upper bound in the total number of keys.
This is to protect against the DoS attack based on the hash key collision.
See http://www.ocert.org/advisories/ocert-2011-003.html| Constructor and Description |
|---|
SizeRestrictedHashtable(int cap) |
SizeRestrictedHashtable(int initialCapacity,
float loadFactor,
int cap) |
SizeRestrictedHashtable(int initialCapacity,
int cap) |
SizeRestrictedHashtable(Map<? extends K,? extends V> t,
int cap) |
Copyright © 2014. All rights reserved.